improved idle handling
- times are now in seconds rather than minutes, like all other IITC time settings - ignore mousemove events for no/small movements - more likely to go idle when it should
This commit is contained in:
2
main.js
2
main.js
@ -119,7 +119,7 @@ window.ZOOM_LEVEL_ADJ = 5; // add 5 seconds per zoom level
|
||||
window.ON_MOVE_REFRESH = 1.25; //refresh time to use after a movement event
|
||||
window.MINIMUM_OVERRIDE_REFRESH = 5; //limit on refresh time since previous refresh, limiting repeated move refresh rate
|
||||
window.REFRESH_GAME_SCORE = 15*60; // refresh game score every 15 minutes
|
||||
window.MAX_IDLE_TIME = 4; // stop updating map after 4min idling
|
||||
window.MAX_IDLE_TIME = 4*60; // stop updating map after 4min idling
|
||||
window.PRECACHE_PLAYER_NAMES_ZOOM = 17; // zoom level to start pre-resolving player names
|
||||
window.HIDDEN_SCROLLBAR_ASSUMED_WIDTH = 20;
|
||||
window.SIDEBAR_WIDTH = 300;
|
||||
|
Reference in New Issue
Block a user