You've already forked AstralRinth
forked from didirus/AstralRinth
Include MAXIMIZED state flag in window state handling (#4566)
This commit is contained in:
@@ -155,7 +155,8 @@ fn main() {
|
|||||||
// Use *only* POSITION and SIZE state flags, because saving VISIBLE causes the `visible: false` to not take effect
|
// Use *only* POSITION and SIZE state flags, because saving VISIBLE causes the `visible: false` to not take effect
|
||||||
.with_state_flags(
|
.with_state_flags(
|
||||||
tauri_plugin_window_state::StateFlags::POSITION
|
tauri_plugin_window_state::StateFlags::POSITION
|
||||||
| tauri_plugin_window_state::StateFlags::SIZE,
|
| tauri_plugin_window_state::StateFlags::SIZE
|
||||||
|
| tauri_plugin_window_state::StateFlags::MAXIMIZED,
|
||||||
)
|
)
|
||||||
.build(),
|
.build(),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user