Skip to content

Commit

Permalink
canvas: preserver drawing order in legacy backend
Browse files Browse the repository at this point in the history
- closes #634
  • Loading branch information
smathot committed Jul 19, 2018
1 parent 2bd6c4e commit dedffce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openexp/_canvas/legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import os
import pygame
import platform
from collections import OrderedDict
from openexp.backend import configurable
from openexp._canvas.canvas import Canvas
from openexp._coordinates.legacy import Legacy as LegacyCoordinates
Expand Down Expand Up @@ -158,7 +159,7 @@ def copy(self, canvas):
def clear(self):

self.surface.fill(self.background_color.backend_color)
self._elements = {}
self._elements = OrderedDict()


def _text_size(self, text):
Expand Down

0 comments on commit dedffce

Please sign in to comment.