-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: hide thumbnail when dragging timeline
ref #358
- Loading branch information
1 parent
984f8aa
commit 00daff7
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00daff7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comparing with my original plan, this way would generate the unnecessary flicker when clicking on the timeline.
I tried to improve a little, but I still don't know how to totally fix it.
00daff7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this commit
https://user-images.githubusercontent.com/41094733/228629107-16401a5e-380e-43f7-a9e8-2eb03388a979.mp4
My previous commits (Due to the low FPS, flicker would not be obvious)
https://user-images.githubusercontent.com/41094733/228629114-51bd66fa-46a1-4844-a7bc-8314dd546938.mp4
00daff7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand what the issue is. I'm trying clicking while mouse doesn't move, then moving, and various combinations of not moving, moving, dragging, clicking, and everything works as I'd expect.
Are you talking about the screen going a bit dark on your 1st video? That flickering? If so, I have no idea what that is. It's not happening on my end.
00daff7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No.
What I mean is that, hiding should only happen when draging.
Probably not a issue, a preference instead.
test3.mp4
00daff7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be fixed by 19f421f.
00daff7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After some tests, Hmm... Overall it looked good except a little bit increasing of performance (See RED part in the img). (I kept dragging and observe the task manager's info)
Considering dragging for a long time is not a common action, so I could ignore this issue and just leave it here.
P.S. My commits(ORANGE) based on #358 use less power.
00daff7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see or can think of any obvious culprit if there really is a performance hit here. There's no way keeping track of dragging distance would cause this.