You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The expected result:
The viewport should initialize scrolled all the way down (value of 1).
Actual result:
The viewport seems to snap right back to viewPositionY at value 0.
David Healey has noted a possible workaround for the bug is to use a timer in the script,
and because of that I am wondering if this bug has a common root cause with .setZLevel,
as that also reverts on compile if you try setting it in the script,
but may work in some circumstances if you add a timer.
I should note that after testing the workaround, that it creates a discrepancy between the Interface Designer and the Interface Preview:
When the project is built, the Interface Preview is the version that ends up in the build.
Also, on further testing:
Using a broadcaster to link the viewYPosition of two broadcasters does not work.
The sending value looks like it changes properly, but the broadcaster and receiver values are both wrong (and different from each other):
HISE 4.0
macOS Sonoma 14.5
The text was updated successfully, but these errors were encountered:
Viewport does not respond properly to setting the viewPositionX or viewPositionY.
Steps to reproduce:
Load the following snippet,
note the comment in the script,
then compile.
The expected result:
The viewport should initialize scrolled all the way down (value of 1).
Actual result:
The viewport seems to snap right back to viewPositionY at value 0.
David Healey has noted a possible workaround for the bug is to use a timer in the script,
and because of that I am wondering if this bug has a common root cause with .setZLevel,
as that also reverts on compile if you try setting it in the script,
but may work in some circumstances if you add a timer.
I should note that after testing the workaround, that it creates a discrepancy between the Interface Designer and the Interface Preview:
When the project is built, the Interface Preview is the version that ends up in the build.
Also, on further testing:
Using a broadcaster to link the viewYPosition of two broadcasters does not work.
The sending value looks like it changes properly, but the broadcaster and receiver values are both wrong (and different from each other):
HISE 4.0
macOS Sonoma 14.5
The text was updated successfully, but these errors were encountered: