Occultism

Occultism

19M Downloads

The text goes beyond the page limit.

Heimdallr-1 opened this issue · 2 comments

commented

The text goes beyond the page limit, meaning that it doesn't move to another page and continues down. This problem can be solved similar to what's done in Thaumcraft: if the text is too long, it automatically moves to the next page if possible. Additionally, it's possible to implement page scrolling not only by clicking the mouse button, but also by scrolling the mouse wheel.

Additional context
Снимок экрана (11)
Снимок экрана (13)

commented

@Heimdallr-1 that is an issue I have been giving some thought in Modonomicon.
Currently the problem is, that inserting new pages on the fly is not possible due to how the book setup works, as the structure is defined serverside, page overflow however is clientside and depends on the translated texts (it would also confuse links that target a specific page and so on).

Additionally, currently there is no good way to detect such an overflow, until the time it is actually being rendered.

So I have to find a good solution to this and add it to modonomicon.

I suspect the best solution might be to allow scrolling within the page, but even that is not all that simple, because each page has its own rendering.

I am very open to suggestions on how to do this from a technical perspective

commented

Closing this here as it is a modonomicon issue.
In occultism the overflowing texts should be fixed now, if any remain please report them in a new issue.
The scrolling navigation has been added to modonomicon already