mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
Card preview on style panel is refreshed when styling changes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@492 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -38,6 +38,10 @@ void CardViewer::redraw(const ValueViewer& v) {
|
||||
}
|
||||
|
||||
void CardViewer::onChange() {
|
||||
redraw();
|
||||
}
|
||||
|
||||
void CardViewer::redraw() {
|
||||
if (drawing) return;
|
||||
up_to_date = false;
|
||||
Refresh(false);
|
||||
|
||||
Reference in New Issue
Block a user