[Editing] Disable buttons until the first page is rendered

This commit is contained in:
Calixte Denizet 2022-08-09 18:34:05 +02:00
parent 589f72e325
commit fbce8786d0
2 changed files with 8 additions and 7 deletions

View file

@ -244,7 +244,6 @@ class Toolbar {
}
};
this.eventBus._on("annotationeditormodechanged", editorModeChanged);
this.eventBus._on("toolbarreset", evt => {
if (evt.source === this) {
editorModeChanged(