Skip to content

Commit 71bb6d2

Browse files
committed
fix: Don't call close handlers on switch by default
1 parent 4a1bc06 commit 71bb6d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interfaces/src/main/kotlin/com/noxcrew/interfaces/interfaces/InterfaceProperties.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public open class InterfaceProperties<P : Pane> {
4747
public var inheritExistingItems: Boolean = false
4848

4949
/** Whether close handlers should be called when switching to a different view. */
50-
public var callCloseHandlerOnViewSwitch: Boolean = true
50+
public var callCloseHandlerOnViewSwitch: Boolean = false
5151

5252
/** Whether to place empty air elements in all background slots. */
5353
public var fillMenuWithAir: Boolean = false

0 commit comments

Comments
 (0)