diff options
Diffstat (limited to 'tawindow.py')
-rw-r--r-- | tawindow.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tawindow.py b/tawindow.py index 7ab79e0..8c15123 100644 --- a/tawindow.py +++ b/tawindow.py @@ -838,7 +838,9 @@ class TurtleArtWindow(): elif spr.type == 'selector': self._select_category(spr) elif spr.type == 'category': - pass + r,g,b,a = spr.get_pixel((x, y)) + if (r == 255 and g == 0) or g == 255: + self._hide_palette() """ Block pressed |