diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2017-06-14 17:08:35 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2017-06-14 17:19:58 +0200 |
commit | d27d1dba23972b4ebb4869d2cd171bf78f0af342 (patch) | |
tree | f1950e44a9e9464aee33f25993524acf09af6f19 /editor/icons/source | |
parent | b7117ffda076a4ea5b6171ef23939cf89490990f (diff) |
Fix/improve TouchScreenButton
- Refactor touch acceptance logic so the same is used whether passby is enabled or not.
- Remove the check for visibility during input handling as it should never fail; instead using now an ERR_FAIL_COND() just in case since we have been checking for that so far.
- Fix cast to wrong InputEventScreenTouch when it should be InputEventScreenDrag.
- Replaced use of references by plain pointers for a more readable code and maybe a little performance gain.
Diffstat (limited to 'editor/icons/source')
0 files changed, 0 insertions, 0 deletions