mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 14:15:50 -06:00
[GH-ISSUE #186] Call Area.onSizeChange on initial render #121
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mischnic on GitHub (Nov 9, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/186
There is currently no way to know the area size on the initial render. So using the width/height for drawing only works after resizing.
@kusti8 commented on GitHub (Dec 22, 2018):
It seems to me that this works. When I run
area.jsthen the height gets immediately updated on render.@mischnic commented on GitHub (Dec 27, 2018):
area.jslooks like this for me before resizing the window (which sets the height). Using GTK on macOS works correctly though.@kusti8 commented on GitHub (Jan 19, 2020):
Proton Native V2 is now released! If the issue still occurs in the new update, please open a new issue.