Merge pull request #8618 from RoosterDragon/color-widget-red-fix
Generate the selection bitmap when opening the ColorMixerWidget
This commit is contained in:
@@ -58,6 +58,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
var mixerSheet = new Sheet(new Size(256, 256));
|
||||
mixerSheet.GetTexture().SetData(front, 256, 256);
|
||||
mixerSprite = new Sprite(mixerSheet, rect, TextureChannel.Alpha);
|
||||
GenerateBitmap();
|
||||
}
|
||||
|
||||
void GenerateBitmap()
|
||||
|
||||
Reference in New Issue
Block a user