[editor] Add move page buttons functionality
Also rework selected page index to be managed by the selection service. There is a bug in Angular and as a result Material tab elements brake when the underlying array is changed. To circumvent that we temporarily remove the tab element and add it again, which should re-initialize it.
Showing
- projects/editor/src/app/components/unit-view/page-view/properties/page-properties.component.ts 8 additions, 2 deletions...it-view/page-view/properties/page-properties.component.ts
- projects/editor/src/app/components/unit-view/unit-view.component.html 3 additions, 2 deletions...tor/src/app/components/unit-view/unit-view.component.html
- projects/editor/src/app/components/unit-view/unit-view.component.ts 20 additions, 9 deletions...ditor/src/app/components/unit-view/unit-view.component.ts
- projects/editor/src/app/selection.service.ts 10 additions, 3 deletionsprojects/editor/src/app/selection.service.ts
- projects/editor/src/app/unit.service.ts 15 additions, 0 deletionsprojects/editor/src/app/unit.service.ts
Loading
Please register or sign in to comment