diff --git a/CHANGELOG.rst b/CHANGELOG.rst index cd2d3a5..f2e6806 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -18,6 +18,8 @@ Fixed * Scene Export: Selecting filename without file extension now automatically appends the extension from the selected filter istead of resulting in a confusing error message. +* The exemption from antialias/smoothing for images displayed at large + zoom now also works on images that are flipped horizontally Changed diff --git a/beeref/items.py b/beeref/items.py index 2858ca9..39d4aa8 100644 --- a/beeref/items.py +++ b/beeref/items.py @@ -323,7 +323,7 @@ def draw_crop_rect(self, painter, rect): painter.drawRect(rect) def paint(self, painter, option, widget): - if painter.combinedTransform().m11() < 2: + if abs(painter.combinedTransform().m11()) < 2: # We want image smoothing, but only for images where we # are not zoomed in a lot. This is to ensure that for # example icons and pixel sprites can be viewed correctly.