3Dickulus / FragM

Derived from https://github.com/Syntopia/Fragmentarium/
GNU General Public License v3.0
349 stars 30 forks source link

time slider can't be dragged to 0 #136

Closed claudeha closed 4 years ago

claudeha commented 4 years ago

Describe the bug Time slider can't be dragged all the way to the start.

To Reproduce Steps to reproduce the behavior:

  1. Drag time slider away from left edge
  2. Drag time slider all the back way to the left
  3. See it clamp to 000s:01f
  4. Pressing rewind it goes to the real start at 000s:00f

Expected behavior Either dragging time slider goes all the way to 000s:00f, or rewind goes to 000s:01f. I prefer to start counting at 0.

Screenshots time-slider-does-not-drag-to-zero

Desktop (please complete the following information):

3Dickulus commented 4 years ago

oops the silliest things seem to be getting sneaking in... single step (up/down arrows) don't take it to 0 either...

MainWindow.cpp lines 2079 and 2080 1 should be 0 edit: fixes single step too.

claudeha commented 4 years ago

Thanks for the fix! I didn't know about the arrow keys for this, so thanks for the knowledge too :)

3Dickulus commented 4 years ago

by default all Qt widgets should have keyboard controls ;)