mirror of
https://github.com/Insality/druid.git
synced 2025-09-28 02:22:18 +02:00
Inline helper.is_enabled, remove unused code, documentation fixes, remove formats and druid_input files, add more tests
This commit is contained in:
@@ -58,7 +58,7 @@ function Hover.on_input(self, action_id, action)
|
||||
return false
|
||||
end
|
||||
|
||||
if not helper.is_enabled(self.node) or not self._is_enabled then
|
||||
if not gui.is_enabled(self.node, true) or not self._is_enabled then
|
||||
self:set_hover(false)
|
||||
self:set_mouse_hover(false)
|
||||
return false
|
||||
|
Reference in New Issue
Block a user