evolus / pencil

The Pencil Project's unique mission is to build a free and opensource tool for making diagrams and GUI prototyping that everyone can use.
http://pencil.evolus.vn
GNU General Public License v2.0
9.08k stars 721 forks source link

Weird point positioning while resizing fixed-width element #118

Open larvanitis opened 8 years ago

larvanitis commented 8 years ago

Steps to reproduce:

  1. Create a Rich Text element
  2. Set it to Fixed Width
  3. Left-click (without any modifier keys) on the yellow resize point
  4. While keeping the left mouse button pressed, hold down Shift
  5. Move the cursor

    Expected behavior:

The point should stay directly under the cursor at all times

Current behavior:

The point jumps a seemingly random distance (600-1000 pixels) to the right of the cursor and keeps it even if you release Shift.

larvanitis commented 8 years ago

I just noticed that this happens to other (all?) yellow point movements and to both axis (vertical in addition to horizontal, when possible).

Other such cases: