progress on flying

This commit is contained in:
jfh
2020-10-28 00:11:49 +01:00
parent 77bd590192
commit a6479913ea
4 changed files with 233 additions and 8 deletions

View File

@@ -1536,7 +1536,7 @@ editor.init = () => {
const leftPanelClick = (button) => {
if (button.disabled) return false;
// remove the pressed state on other(s) button(s)
$qq('.tools_panel se-button[pressed]').forEach((b) => { b.pressed = false; });
$qq('#tools-left se-button[pressed]').forEach((b) => { b.pressed = false; });
// pressed state for the clicked button
$id(button).pressed = true;
return true;