mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
fixed unfocus all
This commit is contained in:
parent
8b65956dcc
commit
43e545b6ae
@ -7,7 +7,7 @@ local flasher = require("graphics.flasher")
|
||||
|
||||
local core = {}
|
||||
|
||||
core.version = "2.0.2"
|
||||
core.version = "2.0.3"
|
||||
|
||||
core.flasher = flasher
|
||||
core.events = events
|
||||
|
@ -666,7 +666,7 @@ function element.new(args, child_offset_x, child_offset_y)
|
||||
-- unfocus this element and all its children
|
||||
function public.unfocus_all()
|
||||
public.unfocus()
|
||||
for _, child in pairs(protected.children) do child.get().unfocus() end
|
||||
for _, child in pairs(protected.children) do child.get().unfocus_all() end
|
||||
end
|
||||
|
||||
-- custom recolor command, varies by element if implemented
|
||||
|
Loading…
Reference in New Issue
Block a user