Context Menu Appearing Faster
This commit is contained in:
1 parent
1b6e4a5daf
commit
c1789c16f1
2 files changed
+2
-2
No files matched your search
@@ -114,7 +114,7 @@ function newCircularMenu () {
|
||||
function onNotFocus () {
|
||||
for (let i = 0; i < menuItems.length; i++) {
|
||||
let menutItem = menuItems[i]
|
||||
menutItem.targetRadius = menutItem.rawRadius * 0 - i * 5
|
||||
menutItem.targetRadius = menutItem.rawRadius * 0 - i * 4
|
||||
menutItem.isDeployed = false
|
||||
}
|
||||
thisObject.isDeployed = false
|
||||
|
||||
@@ -106,7 +106,7 @@ function newCircularMenuItem () {
|
||||
function physics () {
|
||||
if (thisObject.dontShowAtFullscreen === true && CURRENT_TOP_MARGIN === 0) { return }
|
||||
|
||||
const INCREASE_STEP = 1
|
||||
const INCREASE_STEP = 2
|
||||
|
||||
if (Math.abs(thisObject.currentRadius - thisObject.targetRadius) >= INCREASE_STEP) {
|
||||
if (thisObject.currentRadius < thisObject.targetRadius) {
|
||||
|
||||
Reference in new issue
Block a user