mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
remove checkerboard placeholder
This commit is contained in:
@@ -42,8 +42,8 @@ void ImageValueViewer::draw(RotatedDC& dc) {
|
||||
if (!image.Ok() && style().default_image.isReady()) {
|
||||
image = style().default_image.generate(GeneratedImage::Options(w, h, &getStylePackage(), &getLocalPackage()));
|
||||
is_default = true;
|
||||
if (what & DRAW_EDITING) {
|
||||
bitmap = imagePlaceholder(dc, w, h, image, (what & DRAW_EDITING) && field().editable);
|
||||
if ((what & DRAW_EDITING) && field().editable) {
|
||||
bitmap = imagePlaceholder(dc, w, h, image, true);
|
||||
if (alpha_mask.isLoaded() || !is_rad0(a)) {
|
||||
image = bitmap.ConvertToImage(); // we need to convert back to an image
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user