mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2026-02-06 11:17:36 +00:00
fixed bug with applying default button positions
This commit is contained in:
parent
130302eb6a
commit
a8aff392a4
@ -1075,6 +1075,8 @@ class EmulatorJS {
|
||||
this.loadSettings();
|
||||
// Apply virtual gamepad layout after settings are loaded
|
||||
if (this.virtualGamepadLayout && this.virtualGamepadDefaults) {
|
||||
// Measure default positions BEFORE applying saved layout
|
||||
this.measureVirtualGamepadDefaults();
|
||||
this.applyVirtualGamepadLayout();
|
||||
}
|
||||
this.updateCheatUI();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user