forked from ShadowTheAge/yafc
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix horizontal scrollbar #161
Merged
Merged
Commits on Jun 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 48e9a8b - Browse repository at this point
Copy the full SHA 48e9a8bView commit details -
Rename scrollX, scrollY and scroll properties
Now they actually reflect what they are about
Configuration menu - View commit details
-
Copy full SHA for 6d03467 - Browse repository at this point
Copy the full SHA 6d03467View commit details -
* Get rid of misleading height property (a visible area height is needed instead) * MeasureContent only uses width, so replace Rect param * Rename Scrollbar Rects to make their purpose more clear * Document code blocks to clarify a little better what happens
Configuration menu - View commit details
-
Copy full SHA for 491712c - Browse repository at this point
Copy the full SHA 491712cView commit details -
Make horizontal scrollbar clickable/dragable
rect.Heigth does not need the correction for the ScrollbarSize when not building. It does not have the correction when it is building. So with this fix both the building and not building states use the same rect.Height.
Configuration menu - View commit details
-
Copy full SHA for d9f8151 - Browse repository at this point
Copy the full SHA d9f8151View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0076c5 - Browse repository at this point
Copy the full SHA c0076c5View commit details -
The height of the horizontal scrollbar is already taken care of by Scrollable. So it sohuld not be part of the height calculation. The calculation got messed up, when ScrollbarSize != 1 indicating the old calculations were wrong already.
Configuration menu - View commit details
-
Copy full SHA for cf5518f - Browse repository at this point
Copy the full SHA cf5518fView commit details -
Remove the scrollbar highlighting when clicked
It does not 'de-highlight' and it was only active for the Summary view (making it more consistent with the rest of YAFC)
Configuration menu - View commit details
-
Copy full SHA for e1cd68e - Browse repository at this point
Copy the full SHA e1cd68eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a8c135 - Browse repository at this point
Copy the full SHA 4a8c135View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.