Skip to content

Commit 06322ac

Browse files
authored
[API] Fixed four of the ImGuiTreeNodeFlags that were all set to Framed (#26)
1 parent 6a62e95 commit 06322ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

imgui-binding/src/main/java/imgui/flag/ImGuiTreeNodeFlags.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,21 @@ private ImGuiTreeNodeFlags() {
5151
/**
5252
* Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding().
5353
*/
54-
public static final int FramePadding = 1 << 1;
54+
public static final int FramePadding = 1 << 10;
5555
/**
5656
* Extend hit box to the right-most edge, even if not framed.
5757
* This is not the default in order to allow adding other items on the same line.
5858
* In the future we may refactor the hit system to be front-to-back, allowing natural overlaps and then this can become the default.
5959
*/
60-
public static final int SpanAvailWidth = 1 << 1;
60+
public static final int SpanAvailWidth = 1 << 11;
6161
/**
6262
* Extend hit box to the left-most and right-most edges (bypass the indented area).
6363
*/
64-
public static final int SpanFullWidth = 1 << 1;
64+
public static final int SpanFullWidth = 1 << 12;
6565
/**
6666
* (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop)
6767
*/
68-
public static final int NavLeftJumpsBackHere = 1 << 1;
68+
public static final int NavLeftJumpsBackHere = 1 << 13;
6969
//ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 14; // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible
7070
public static final int CollapsingHeader = Framed | NoTreePushOnOpen | NoAutoOpenOnLog;
7171
}

0 commit comments

Comments
 (0)