ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.69k stars 815 forks source link

Zoom in zoom out carsh problem #13958

Open ponarangan opened 1 year ago

ponarangan commented 1 year ago

Describe the bug

When I click an object to zoom it and press back button and then come back to the zoomed object, it is not working.

Expected behavior

When I click an object to zoom it and press back button and then come back to the zoomed object, it is not working.

Content Location

https://www.firstescapegames.com/play/mystery-adventure-odyssey-escape-3.html

Affected platform

Desktop app

Operating system

windows 10, windows ,7

Browser

mozila, chrome

Additional information

No response

Lord-McSweeney commented 1 year ago

It works for me on desktop, can you take a screen recording of you doing it on web?

ponarangan commented 1 year ago

Please check. And give solution for this. https://github.com/ruffle-rs/ruffle/assets/90509957/b23a8f06-fdb7-4b59-9cf3-c753b090d1dc

Lord-McSweeney commented 1 year ago

Ok, so the issue is that in the second room (move right one room), after clicking an object (zooming in), then clicking the yellow button at the bottom-right of the screen (zooming out), that object can't be clicked again. Changing the room, then moving back to the room allows for the object to be clicked again. No logs/warns/errors are printed.

ponarangan commented 1 year ago

I faced this issue while playing on the browser what is the solution for this.?

ponarangan commented 1 year ago

The objects should be clicked again when we zoom in again.

ponarangan commented 1 year ago

Please check this.

https://github.com/ruffle-rs/ruffle/assets/90509957/ca62d8fc-0ec7-47f2-ad47-1822b7f7ede0

ponarangan commented 1 year ago

I am able to zoom in an object and zoom out but able to zoom in again on the same object.