seantronsen / pvt

GNU General Public License v3.0
0 stars 0 forks source link

Issue: Trackbar requires a second drag #20

Closed seantrons closed 7 months ago

seantrons commented 7 months ago

Since the recent update to the stepped trackbar, there is now an issue where it doesn't drag all the way to the other side on the first attempt. Rather it moves to the point it's almost there and stops. This is likely due to how the bounds are calculated.

seantrons commented 7 months ago

For reference, this issue was detected in the original demo, demo_image_viewer, when sliding the trackbar from one side to the maximum value and similarly when taking the same action to reach the minimum value.

seantronsen commented 7 months ago

fixed as of: d2419dd closing

seantronsen commented 7 months ago

Linking to #5

seantrons commented 7 months ago

The updated fix didn't account for the trackbar minimum not being zero.

seantrons commented 7 months ago

New fix submitted in: 5432878

seantrons commented 7 months ago

Another spot fix: 452ca76 Rounding was performed in the wrong location.