IMGUI use data from Gamestate, fix pointInRect bug

Wrong if logic causing point-in-rect to be valid if only x or y is
valid, where correct logic is both x and y need to be within the rect.
This commit is contained in:
doylet committed 2016-08-04 21:17:16 +10:00
1 parent 8eb9068093
commit eb1962e05e
6 files changed
+50 -38

No files matched your search

+2 -1
View File
@@ -18,7 +18,7 @@
#
AllowAllParametersOfDeclarationOnNextLine: true,
AllowShortBlocksOnASingleLine: false,
AllowShortIfStatementsOnASingleLine: false,
AllowShortIfStatementsOnASingleLine: true,
AllowShortLoopsOnASingleLine: false,
#
BinPackArguments: true,
@@ -42,4 +42,5 @@
#
Cpp11BracedListStyle: true,
Standard: Cpp11,
#
}