mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 13:17:00 -04:00
Images are now cached as wxBitmap, not wxImage. This should improve performance.
Fixed some more corner cases of rotation+zoom. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@630 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -42,9 +42,9 @@ void TextValueViewer::onValueChange() {
|
||||
v.reset(false);
|
||||
}
|
||||
|
||||
void TextValueViewer::onStyleChange(bool already_prepared) {
|
||||
void TextValueViewer::onStyleChange(int changes) {
|
||||
v.reset(true);
|
||||
if (!already_prepared) viewer.redraw(*this);
|
||||
ValueViewer::onStyleChange(changes);
|
||||
}
|
||||
|
||||
void TextValueViewer::onAction(const Action&, bool undone) {
|
||||
|
||||
Reference in New Issue
Block a user