3
0
mirror of https://github.com/britzl/monarch.git synced 2025-09-28 10:32:21 +02:00

Set focus, transition and receiver as deprecated

This commit is contained in:
Björn Ritzl
2023-08-02 07:47:32 +02:00
parent c601174b9d
commit 0191a4e540
5 changed files with 26 additions and 17 deletions

View File

@@ -7,9 +7,9 @@ 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())
go.property("transition_url", msg.url("__DEPRECATED__"))
go.property("focus_url", msg.url("__DEPRECATED__"))
go.property("receiver_url", msg.url("__DEPRECATED__"))
go.property("preload", false)
@@ -19,7 +19,7 @@ function init(self)
assert(not self.popup_on_popup or (self.popup_on_popup and self.popup), "Popup on Popups can only be set if the Popup flag is set")
assert(self.screen_proxy ~= url, "You must specify either a proxy URL")
assert(self.timestep_below_popup >= 0, "Timestep must be positive")
local settings = {
popup = self.popup,
popup_on_popup = self.popup_on_popup,