Skip to content

Commit

Permalink
Fixed updating of object selection outlines when changing parallax fa…
Browse files Browse the repository at this point in the history
…ctor

See comments on issue #3669.
  • Loading branch information
bjorn committed Apr 26, 2023
1 parent e7578dc commit a56b5a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Removed Space and Ctrl+Space shortcuts from Layers view to avoid conflict with panning (#3672)
* Fixed object preview position with parallax factor on group layer (#3669)
* Fixed hover highlight rendering with active parallax factor (#3669)
* Fixed updating of object selection outlines when changing parallax factor (#3669)

### Tiled 1.10.1 (4 April 2023)

Expand Down
2 changes: 1 addition & 1 deletion src/tiled/objectselectionitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ void ObjectSelectionItem::layerChanged(const LayerChangeEvent &event)
// If an object or group layer changed, that means its offset may have
// changed, which affects the outlines of selected objects on that layer
// and the positions of any name labels that are shown.
if (event.properties & LayerChangeEvent::OffsetProperty) {
if (event.properties & LayerChangeEvent::PositionProperties) {
if (objectGroup) {
syncOverlayItems(objectGroup->objects());
} else {
Expand Down

0 comments on commit a56b5a2

Please sign in to comment.