Save tool configuration, and put close popup infront of other popups

This commit is contained in:
Yousef Khadadeh 2026-01-26 19:08:36 +03:00
parent 2e9e8eaf8b
commit f46d25b8e6
21 changed files with 167 additions and 68 deletions

View file

@ -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;