       @paletteCtx.setTransform 1, 0, 0, 1, -@scrollOffsets.palette.x, -@scrollOffsets.palette.y
       @paletteHighlightCtx.setTransform 1, 0, 0, 1, -@scrollOffsets.palette.x, -@scrollOffsets.palette.y
 
-
-      @redrawPalette()
+      @rebuildPalette()
 
 
   Editor::resize = ->

    if @currentHighlightedPaletteBlock?
      @paletteHighlightPath.draw @paletteHighlightCtx

  hook 'redraw_palette', 0, ->
    # Remove the existent blocks
    @paletteScrollerStuffing.innerHTML = ''


  # ================================

  # ## Redraw
  # There are two different redraw events, redraw_main and rebuild_palette,
  # for redrawing the main canvas and palette canvas, respectively.
  #
  # Redrawing simply involves issuing a call to the View.
