fixed an issue where the simulator's UI was not rendering correctly on FireFox at loading. This fix is here to prepare the support of accessibility in the simulator. (#486)
This commit is contained in:
parent
5e7cba3882
commit
2f6e1fe277
@ -3,6 +3,7 @@ namespace pxsim.input {
|
||||
let pin = getPin(pinId);
|
||||
if (!pin) return;
|
||||
pin.isTouched();
|
||||
runtime.queueDisplayUpdate();
|
||||
pxtcore.registerWithDal(pin.id, DAL.MICROBIT_BUTTON_EVT_CLICK, handler);
|
||||
}
|
||||
|
||||
@ -10,6 +11,7 @@ namespace pxsim.input {
|
||||
let pin = getPin(pinId);
|
||||
if (!pin) return;
|
||||
pin.isTouched();
|
||||
runtime.queueDisplayUpdate();
|
||||
pxtcore.registerWithDal(pin.id, DAL.MICROBIT_BUTTON_EVT_UP, handler);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user