Fixes gamesetup slider for a too short frame time (not enough Date precision).
Patch By: nwtour Differential Revision: https://code.wildfiregames.com/D4365 This was SVN commit r26079.
This commit is contained in:
parent
eb004e5c98
commit
2f4fabdd96
@ -58,7 +58,7 @@ class GameSettingsPanel
|
||||
if (previousTime === undefined)
|
||||
return;
|
||||
|
||||
let distance = this.slideSpeed * tickLength;
|
||||
const distance = this.slideSpeed * (tickLength || 1);
|
||||
let rightBorder = this.settingTabButtonsFrame.size.left;
|
||||
let offset = 0;
|
||||
if (g_TabCategorySelected === undefined)
|
||||
|
Loading…
Reference in New Issue
Block a user