Fix uBomb example
|Assignee:||Miroslav Fidler||% Done:|
It seems that uBomb works strange (cross is always painted).
Simple fix in file (No diff, beacuse I don't have this file under version control).
#1 Updated by Zbigniew Rebacz almost 5 years ago
- Category set to CtrlCore
Funny, This is next GTK/Backend serious problem (On X11 fix is not needed & probably on Windows, too).
w.DrawLine(x * UNIT, y * UNIT, x * UNIT + UNIT - 1, y * UNIT + UNIT - 1, 1, cross);
When cross = Null, it paints line. In X11 implementation it paints nothing. cross has got Color type.