tmedwards / sugarcube-2

SugarCube is a free (gratis and libre) story format for Twine/Twee.
https://www.motoslave.net/sugarcube/2/
BSD 2-Clause "Simplified" License
177 stars 41 forks source link

previews passages don't disapear #230

Closed metalalchemist closed 2 months ago

metalalchemist commented 1 year ago

Describe the bug. well when i compile my game and i clicked in any option the previews passage with the other options still is in the game. with a screen reader (jaws or nvda) i acn read the content of the previews passage and in shugarcube 2.35.0 i can't it for example. choose a fruit [[apple]] [[orange]] i clicked in apple and i can read... choose a fruit apple disabled [[orange]] well you clicked in apple! To Reproduce:

  1. compile my game with tweego 2.1.1
  2. Click on any passage and it don't disapear. Expected behavior. i used shugarcube 2.35.0 and the passage disapear for show the clicked passage. Screenshots. [(https://dl.dropbox.com/s/zkwrra38vr1xbyl/Captura%20de%20pantalla%202023-04-29%2017.06.32.png?dl=0) Project details.
    • SugarCube Version: [2.37.0-alpha.6]
    • Included Add-ons: [e.g., Chapel's Notify Macro, Cyrus' Click to Proceed Macro]
    • Included Libraries: [e.g., Moment.js, Tracery]
    • Compiler & Version: [e.g., Twine 2.3.13, Tweego 2.1.1]

Desktop details. windows 10 latest version.

Smartphone/tablet details.

Additional context. Add any other context about the problem here.

metalalchemist commented 1 year ago

i find the problem, the problem is when i put

config.passages.transitionOut = "opacity";

greyelf commented 1 year ago

the previews passage

What exactly do you mean by "previews" when you say "previews passage"?

i find the problem

Do you mean Config.passages.transitionOut = "opacity", with an upper-case C in Config?

SugarCube Version: [2.37.0-alpha.6]

The latest release of SugarCube is v2.36.1 and I was unable to find a 2.37.0-alpha.6 branch or tag in the official sugarcube-2 Github repository. Are you compiling your own custom version of SugarCube? And If so, have you made any unofficial changes to your custom version?

Screenshots

That image shows that a undefined MobileAccessibility reference is being used in some JavaScript code that is being executed within a < Githubissues.

  • Githubissues is a development platform for aggregating issues.