CCDraw: simplified statement for blink init

This commit is contained in:
2017-01-23 20:34:54 +01:00
committed by M. Liebmann
parent cced4eba9a
commit 44eebba080

View File

@@ -732,10 +732,10 @@ void CCDraw::enableShadow(int mode, const int& shadow_width, bool force_paint)
void CCDraw::paintTrigger() void CCDraw::paintTrigger()
{ {
if (!is_painted) if (is_painted)
paint1();
else
hide(); hide();
else
paint();
} }
bool CCDraw::paintBlink(CComponentsTimer* Timer) bool CCDraw::paintBlink(CComponentsTimer* Timer)