Skip to content

Commit eeb621c

Browse files
committed
Fix bug where frames in the overlay frame selector were completely black
1 parent c2dc0ea commit eeb621c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/TSMapEditor/UI/OverlayFrameSelector.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ public override void Draw(GameTime gameTime)
337337
continue;
338338

339339
palettedDrawEffect.Parameters["PaletteTexture"].SetValue(currentOverlayShape.GetPaletteTexture());
340+
palettedDrawEffect.Parameters["Lighting"].SetValue(Vector4.One);
340341

341342
DrawTexture(frame.Texture, new Rectangle(frame.Location.X + frame.Offset.X,
342343
viewY + frame.Location.Y + frame.Offset.Y, frame.Texture.Width, frame.Texture.Height), Color.White);

0 commit comments

Comments
 (0)