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
So, I've seen this question pop up on various forums over the last 3 years up to just a few weeks ago, but couldn't find any answer: Is it possible to programmatically override Webamp's position variables? They don't seem to be publicly exposed.
I've hacked the initial position to my liking (couldn't use options.__initialWindowLayout because I wanted a relative viewport percentage rather than absolute values) and it works fine, except that when we click for the first time on any of Webamp's components, it instantly reverts back to the center of the viewport. Subsequent clicks and drags are OK. I found that the absolute positioning of Webamp relies on private coordinate variables that don't seem to be exposed at all:
The text was updated successfully, but these errors were encountered:
So, I've seen this question pop up on various forums over the last 3 years up to just a few weeks ago, but couldn't find any answer: Is it possible to programmatically override Webamp's position variables? They don't seem to be publicly exposed.
I've hacked the initial position to my liking (couldn't use
options.__initialWindowLayout
because I wanted a relative viewport percentage rather than absolute values) and it works fine, except that when we click for the first time on any of Webamp's components, it instantly reverts back to the center of the viewport. Subsequent clicks and drags are OK. I found that the absolute positioning of Webamp relies on private coordinate variables that don't seem to be exposed at all:The text was updated successfully, but these errors were encountered: