Skip to content

timDraggableFixed: change default position when slidePars is enabled #3838

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

Merged
merged 1 commit into from
Apr 9, 2025

Conversation

dezhidki
Copy link
Member

@dezhidki dezhidki commented Apr 8, 2025

When slidePars is enabled, move the window to top-left by default. This ensures the window occupies the free space created by the paragraphs that were moved to the right.


Jos float_slide_pars-lohkoasetus on true, tämä PR pakottaa kellutettavan ikkunan oletuksella vasempaan ylänurkkaan.
Tämä PR muuta muuta logiikkaa, sillä kellutettavien lohkoissa käytetään vanhaa Angular.JS:ää.
Tämän muutoksen pitäisi olla sopivan riittävä mm. SUKOL-kokeisiin.

Testi: https://tim03.it.jyu.fi/view/sukol/kokeet/2025/a-englanti-2025
Tunnuksena toimii oma tuotanto-TIMin tunnus ja salasana. Kyseisellä koneella on kopioa tuotannosta, joten siellä voi testailla myös muita dokumentteja. Omien testien perusteella tämä muuttaa vain niitä lohkoja, jossa on float_slide_pars="true".

When slidePars is enabled, move the window to top-left by default. This ensures the window occupies the free space created by the paragraphs that were moved to the right.
Copy link
Contributor

@saviit saviit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hyvin toimii

@dezhidki dezhidki merged commit 0fabdc5 into master Apr 9, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants