Skip to content

Commit 37be391

Browse files
committed
present-to all: mark mark as not following on button press
when user navigates slide with keyboard during slideshow mark them as not following if they are follower problem: when follower navigated the slides with keyboard they were not marked as unfollowed so that's why "follow presenter" button would not work Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: I9ac443ab21244a4f42fd36cc71c7c41568bfd3de
1 parent ebe260e commit 37be391

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

browser/src/slideshow/engine/SlideShowNavigator.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ class SlideShowNavigator {
8181
}
8282

8383
dispatchEffect() {
84+
if (this.presenter.isFollower()) this.presenter.setFollowing(false);
8485
this.presenter.sendSlideShowFollowMessage('dispatcheffect');
8586
const currentTime = Date.now();
8687
const timeDiff = currentTime - this.lastClickTime;
@@ -128,6 +129,7 @@ class SlideShowNavigator {
128129
}
129130

130131
rewindEffect() {
132+
if (this.presenter.isFollower()) this.presenter.setFollowing(false);
131133
this.presenter.sendSlideShowFollowMessage('rewindeffect');
132134
NAVDBG.print(
133135
'SlideShowNavigator.rewindEffect: current index: ' + this.currentSlide,

0 commit comments

Comments
 (0)