summaryrefslogtreecommitdiff
path: root/scene/gui/box_container.h
diff options
context:
space:
mode:
authorEric M <itsjusteza@gmail.com>2020-09-29 00:23:51 +1000
committerEric M <itsjusteza@gmail.com>2020-11-19 21:05:45 +1000
commitc92f83d3ca90c49594c9ed79748c0bf5225563d8 (patch)
tree2047b7d246ebe15bb47fdd150ea053292e922ba0 /scene/gui/box_container.h
parent593e35346ab182c36068c3dcfc741eeb7311a19e (diff)
Made serialization of Command toggleable when saving InputEvents.
Made serialization of Command optional. If command is serialized, Control (On Win/Linux) or Meta (on Mac) are not. Example use case: You are on Windows and you set a shortcut to be Control + E. This would serialize as Command=true and Control=true. If you then run this project on Mac, you would need to press Command AND Control to activate the shortcut - which is not what is intended. Now, you can set store_command to true, and it will only serialize to Command = true (no Control serialized). On Windows, this means Control. On Mac, it means only command.
Diffstat (limited to 'scene/gui/box_container.h')
0 files changed, 0 insertions, 0 deletions