-
Notifications
You must be signed in to change notification settings - Fork 24
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 bugs #695
base: master
Are you sure you want to change the base?
Fix bugs #695
Conversation
…fields are skipped
- keep content widget size isn't smaller than its viewport - scroll and clip based on the actual view size (excluding padding).
Because if `FatObj` has a class, it may convert the host into a subtree. Ensure that `FatObj` always remains on the outside to fix it.
1744078
to
e87cb7f
Compare
e6fdcdf
to
a93c64d
Compare
e6fdcdf
to
f397c65
Compare
host.paint(ctx); | ||
} | ||
|
||
fn get_transform(&self, host: &dyn Render) -> Option<Transform> { |
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.
The transform now is used to map to parent, it seems have some bug to get_transform with wrap render which adjust some part of the host but not the entire. Here the padding wrap render will offset the host by the top, left padding, but if the position is in the padding space, it will also be offset by the top left padding, which will be map to Inaccurate position
Purpose of this Pull Request
Fix some bugs described in their commits.
Checklist Before Merging
Please ensure the following are completed before merging:
CHANGELOG.md
file.Breaking
section of theCHANGELOG.md
file.Additional Information
The bot will replace
#pr
inCHANGELOG.md
with your pull request number. If your branch is out of sync, usegit pull --rebase
to update it.If you're unsure about which branch to submit your Pull Request to, or when it will be released after being merged, please refer to our Release Guide.
If you're working on a widget and need help writing test cases, we have some macros that can assist you. Please refer to the Ribir Dev Helper documentation.