mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
fix bug with image decoding
This commit is contained in:
@@ -93,9 +93,9 @@ void PackageInfoPanel::draw(DC& dc) {
|
||||
x += 7;
|
||||
dc.SetFont(wxFont(16, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, _("Arial")));
|
||||
dc.DrawText(d.short_name, x, y);
|
||||
y += dc.GetCharHeight() + 7;
|
||||
y += dc.GetCharHeight() + 7;
|
||||
dc.SetFont(wxFont(12, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, _("Arial")));
|
||||
dc.DrawText(d.full_name, x, y);
|
||||
if (d.full_name != d.short_name) dc.DrawText(d.full_name, x, y);
|
||||
y += dc.GetCharHeight() + 7;
|
||||
|
||||
dc.SetFont(*wxNORMAL_FONT);
|
||||
|
||||
Reference in New Issue
Block a user