Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
No indent for module settings
Browse files Browse the repository at this point in the history
This avoids the unfortunate sizing bug explained here: kotlin-graphics/imgui#138
Also makes us use more of the valuable module window space, so why not?

Signed-off-by: Ridan Vandenbergh <[email protected]>
  • Loading branch information
zeroeightysix committed Jul 1, 2020
1 parent 56afd63 commit 1192062
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object Modules {

internal var windows = getDefaultWindows()
private val newWindows = mutableSetOf<ModuleWindow>()
private val baseFlags = TreeNodeFlag.SpanFullWidth or TreeNodeFlag.OpenOnDoubleClick
private val baseFlags = TreeNodeFlag.SpanFullWidth or TreeNodeFlag.OpenOnDoubleClick or TreeNodeFlag.NoTreePushOnOpen

/**
* Returns if this module has detached
Expand Down Expand Up @@ -77,7 +77,7 @@ object Modules {
}
}

treePop()
// treePop()
} else updateClicked()

// Restore state
Expand Down

0 comments on commit 1192062

Please sign in to comment.