comments: show resolved comments on start
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: If0ea8c1e74581dacb1461af549336a8ae676230epull/3631/head
parent
eb7156061e
commit
50ab7c21fa
|
@ -92,6 +92,11 @@ class CommentSection {
|
|||
this.map.on('AnnotationScrollUp', this.onAnnotationScrollUp, this);
|
||||
this.map.on('AnnotationScrollDown', this.onAnnotationScrollDown, this);
|
||||
|
||||
this.map.on('commandstatechanged', function (event: any) {
|
||||
if (event.commandName === '.uno:ShowResolvedAnnotations')
|
||||
this.setViewResolved(event.state === 'true');
|
||||
}, this);
|
||||
|
||||
this.map.on('zoomend', function() {
|
||||
this.map.fire('mobilewizardpopupclose');
|
||||
this.checkCollapseState();
|
||||
|
|
Loading…
Reference in New Issue