Save tool configuration, and put close popup infront of other popups
This commit is contained in:
parent
2e9e8eaf8b
commit
f46d25b8e6
21 changed files with 167 additions and 68 deletions
|
|
@ -96,10 +96,6 @@ class DrawingProgram {
|
|||
DrawingProgramToolType toolTypeAfterTempMove;
|
||||
|
||||
struct GlobalControls {
|
||||
float relativeWidth = 15.0f;
|
||||
|
||||
Vector4f foregroundColor{1.0f, 1.0f, 1.0f, 1.0f};
|
||||
Vector4f backgroundColor{0.0f, 0.0f, 0.0f, 1.0f};
|
||||
WorldVec previousMouseWorldPos = {0, 0};
|
||||
WorldVec currentMouseWorldPos = {0, 0};
|
||||
bool leftClick = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue