mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
Fix drag is_enabled, add to example
This commit is contained in:
@@ -306,9 +306,8 @@ end
|
||||
-- @tparam Drag self @{Drag}
|
||||
-- @treturn bool
|
||||
function Drag.is_enabled(self)
|
||||
return self._is_disabled
|
||||
return not self._is_disabled
|
||||
end
|
||||
|
||||
|
||||
|
||||
return Drag
|
||||
|
Reference in New Issue
Block a user