mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Tweak statusbar options, fixes mouse stuttering
This commit is contained in:
@@ -358,6 +358,7 @@ CGStatusBar::CGStatusBar(std::shared_ptr<CPicture> background_, EFonts Font, EAl
|
|||||||
pos = background->pos;
|
pos = background->pos;
|
||||||
getBorderSize();
|
getBorderSize();
|
||||||
textLock = false;
|
textLock = false;
|
||||||
|
autoRedraw = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
CGStatusBar::CGStatusBar(int x, int y, std::string name, int maxw)
|
CGStatusBar::CGStatusBar(int x, int y, std::string name, int maxw)
|
||||||
@@ -372,6 +373,7 @@ CGStatusBar::CGStatusBar(int x, int y, std::string name, int maxw)
|
|||||||
background->srcRect = new Rect(0, 0, maxw, pos.h);
|
background->srcRect = new Rect(0, 0, maxw, pos.h);
|
||||||
}
|
}
|
||||||
textLock = false;
|
textLock = false;
|
||||||
|
autoRedraw = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
CGStatusBar::~CGStatusBar()
|
CGStatusBar::~CGStatusBar()
|
||||||
|
Reference in New Issue
Block a user