mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
Remove unexists preview
This commit is contained in:
@@ -85,12 +85,14 @@ return function()
|
||||
assert(instance:is_hovered() == true)
|
||||
|
||||
instance:set_enabled(false)
|
||||
assert(instance:is_enabled() == false)
|
||||
assert(instance:is_hovered() == false)
|
||||
druid:on_input(mock_input.input_empty(12, 12))
|
||||
assert(instance:is_hovered() == false)
|
||||
|
||||
instance:set_enabled(true)
|
||||
druid:on_input(mock_input.input_empty(12, 12))
|
||||
assert(instance:is_enabled() == true)
|
||||
assert(instance:is_hovered() == true)
|
||||
|
||||
druid:on_input(mock_input.input_empty(-10, 10))
|
||||
|
Reference in New Issue
Block a user