causing complete mis-draws - but only when the window was exactly the
right size!
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9146
cda61777-01e9-0310-a592-
d414129be87e
case 3: gg.setClip(arg2, arg3, xarg1, xarg2); break;
case 4:
if (arg2 == 0 && arg3 == 0) {
case 3: gg.setClip(arg2, arg3, xarg1, xarg2); break;
case 4:
if (arg2 == 0 && arg3 == 0) {
- gg.fillRect(0, 0, getWidth(), getHeight());
+ gg.setClip(0, 0, getWidth(), getHeight());
} else {
gg.setClip(arg2, arg3, getWidth()-2*arg2, getHeight()-2*arg3);
}
} else {
gg.setClip(arg2, arg3, getWidth()-2*arg2, getHeight()-2*arg3);
}