Merge pull request #8609 from Mailaender/bad-lock-2
Fixed another bad choice of lock objects in ColorMixerWidget
This commit is contained in:
@@ -98,8 +98,6 @@ namespace OpenRA.Mods.Common.Widgets
|
|||||||
hue = H;
|
hue = H;
|
||||||
}
|
}
|
||||||
|
|
||||||
lock (back)
|
|
||||||
{
|
|
||||||
unsafe
|
unsafe
|
||||||
{
|
{
|
||||||
// Generate palette in HSV
|
// Generate palette in HSV
|
||||||
@@ -120,7 +118,6 @@ namespace OpenRA.Mods.Common.Widgets
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public override void Draw()
|
public override void Draw()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user