Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tawindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'tawindow.py')
-rw-r--r--tawindow.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tawindow.py b/tawindow.py
index 82aaf44..d59c572 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -445,13 +445,9 @@ class TurtleArtWindow():
if self.palettes[n] == []:
for i, name in enumerate(PALETTES[n]):
# Some blocks are too big to fit the palette.
- if PALETTE_SCALE.has_key(name):
- scale = PALETTE_SCALE[name]
- else:
- scale = PALETTE_DEFAULT_SCALE
self.palettes[n].append(Block(self.block_list,
self.sprite_list, name,
- 0, 0, 'proto', [], scale))
+ 0, 0, 'proto', [], PALETTE_SCALE))
self.palettes[n][i].spr.set_layer(TAB_LAYER)
self.palettes[n][i].spr.set_shape(self.palettes[n][i].shapes[0])
# Some blocks get a skin.