forked from EVOgeek/Vmeda.Online
MOBILE-3068 rte: Update toolbar arrows every click
This commit is contained in:
parent
265f15f380
commit
886880a2f0
@ -585,6 +585,7 @@ export class CoreRichTextEditorComponent implements AfterContentInit, OnDestroy
|
|||||||
const currentIndex = this.toolbarSlides.getActiveIndex() || 0;
|
const currentIndex = this.toolbarSlides.getActiveIndex() || 0;
|
||||||
this.toolbarSlides.slideTo(currentIndex + this.numToolbarButtons);
|
this.toolbarSlides.slideTo(currentIndex + this.numToolbarButtons);
|
||||||
}
|
}
|
||||||
|
this.updateToolbarArrows();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -597,6 +598,7 @@ export class CoreRichTextEditorComponent implements AfterContentInit, OnDestroy
|
|||||||
const currentIndex = this.toolbarSlides.getActiveIndex() || 0;
|
const currentIndex = this.toolbarSlides.getActiveIndex() || 0;
|
||||||
this.toolbarSlides.slideTo(currentIndex - this.numToolbarButtons);
|
this.toolbarSlides.slideTo(currentIndex - this.numToolbarButtons);
|
||||||
}
|
}
|
||||||
|
this.updateToolbarArrows();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user