mirror of
https://github.com/britzl/monarch.git
synced 2025-09-29 02:52:22 +02:00
New options to keep focus on screens even when covered by other screens (#51)
* Added option to continue to receive input when below a popup * Added option to not remove input focus when a screen is put on top of another one
This commit is contained in:
@@ -4,6 +4,8 @@ go.property("screen_factory", msg.url("#collectionfactory"))
|
||||
go.property("screen_id", hash("UNIQUE ID HERE"))
|
||||
go.property("popup", false)
|
||||
go.property("popup_on_popup", false)
|
||||
go.property("screen_keeps_input_focus_when_below_popup", false)
|
||||
go.property("others_keep_input_focus_when_below_screen", false)
|
||||
go.property("transition_id", hash(""))
|
||||
go.property("focus_id", hash(""))
|
||||
go.property("preload", false)
|
||||
@@ -17,6 +19,8 @@ function init(self)
|
||||
local settings = {
|
||||
popup = self.popup,
|
||||
popup_on_popup = self.popup_on_popup,
|
||||
screen_keeps_input_focus_when_below_popup = self.screen_keeps_input_focus_when_below_popup,
|
||||
others_keep_input_focus_when_below_screen = self.others_keep_input_focus_when_below_screen,
|
||||
transition_id = self.transition_id,
|
||||
focus_id = self.focus_id,
|
||||
auto_preload = self.preload,
|
||||
|
Reference in New Issue
Block a user