mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
Added 'recolor_image' function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1473 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -159,7 +159,10 @@ RealSize SymbolInFont::size(Package& pkg, double size) {
|
||||
}
|
||||
|
||||
void SymbolInFont::update(Context& ctx) {
|
||||
image.update(ctx);
|
||||
if (image.update(ctx)) {
|
||||
// image has changed, cache is no longer valid
|
||||
bitmaps.clear();
|
||||
}
|
||||
enabled.update(ctx);
|
||||
if (text_font)
|
||||
text_font->update(ctx);
|
||||
|
||||
Reference in New Issue
Block a user