Skip to content
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

Add resize hint to the Web Renderer #794

Merged
merged 1 commit into from
Apr 27, 2024
Merged

Commits on Apr 27, 2024

  1. Add resize hint to the Web Renderer

    The web renderer now returns the new size whenever the element is
    supposed to be resized. This is important so adding or removing a
    component to the layout or loading a new layout will adjust the size of
    the element accordingly. This is the same way the other renderers handle
    it, so we should do the same for the web renderer.
    
    Additionally this fixes a bug in the way the strings got passed from
    JavaScript to Rust, where we introduced a difference between the length
    of a string and the capacity of its allocation, but didn't properly
    differentiate between them everywhere.
    CryZe committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    5de5733 View commit details
    Browse the repository at this point in the history