Fix right/bottom edge jump issue when adjust rect

Authored by guotao on Mar 26 2018, 8:38 PM.

Description

Fix right/bottom edge jump issue when adjust rect

Summary:
right/bottom edge move unexpected when adjust left/top edge.
To fix this issue, just set x/y before width/height

Test Plan:

  1. select a rect, make sure the right/bottom edge is beside moniter edge
  2. drag the topleft, top, top right up or drage top left, left, bottom left to left quickly, the bottom/ right edge move unexpected

Reviewers: rkflx, ngraham, Spectacle

Reviewed By: rkflx, ngraham, Spectacle

Differential Revision: https://phabricator.kde.org/D11704

Details

Committed
rkflxMar 26 2018, 8:40 PM
Reviewer
Spectacle
Differential Revision
D11704: Fix right/bottom edge jump issue when adjust rect
Parents
R166:a147b75ef337: Fix rectangle selection edge not follow mouse
Branches
Unknown
Tags
Unknown