mirror of
https://github.com/britzl/monarch.git
synced 2025-09-28 02:22:20 +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:
@@ -5,6 +5,8 @@ go.property("screen_id", hash("UNIQUE ID HERE"))
|
||||
go.property("popup", false)
|
||||
go.property("popup_on_popup", false)
|
||||
go.property("timestep_below_popup", 1)
|
||||
go.property("screen_keeps_input_focus_when_below_popup", false)
|
||||
go.property("others_keep_input_focus_when_below_screen", false)
|
||||
go.property("transition_url", msg.url())
|
||||
go.property("focus_url", msg.url())
|
||||
go.property("receiver_url", msg.url())
|
||||
@@ -25,6 +27,8 @@ function init(self)
|
||||
focus_url = self.focus_url ~= url and self.focus_url or nil,
|
||||
receiver_url = self.receiver_url ~= url and self.receiver_url or nil,
|
||||
timestep_below_popup = self.timestep_below_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,
|
||||
auto_preload = self.preload,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user