From: Holger Schemel Date: Wed, 18 Sep 2019 21:14:31 +0000 (+0200) Subject: fixed check for virtual buttons when handling gadgets X-Git-Tag: 4.1.4.0~17 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;ds=sidebyside;h=71664f429ff6b802e1826ce51688ce81914ada0d;hp=71664f429ff6b802e1826ce51688ce81914ada0d;p=rocksndiamonds.git fixed check for virtual buttons when handling gadgets Before, when handling finger events, a flag was set to indicate if any virtual button was pressed to prevent handling gadgets at the same screen position. This check was broken, because button events (including gadget checks) may be processed before the corresponding finger events are handled, in which case this flag will be set too late. Now, checking if virtual buttons are pressed is done directly before attempting to handle gadgets at the same screen position, so it does not make a difference if button events or finger events are handled first. ---