Commit 37877e1c authored by csillag's avatar csillag

Added SocialView hook for Highlighter Mode

parent f2e54345
...@@ -237,6 +237,8 @@ class App ...@@ -237,6 +237,8 @@ class App
delete $scope.ongoingHighlightSwitch delete $scope.ongoingHighlightSwitch
$scope.highlightingMode = not $scope.highlightingMode $scope.highlightingMode = not $scope.highlightingMode
annotator.socialView.name =
if $scope.highlightingMode then "single-player" else "none"
provider.notify provider.notify
method: 'setHighlightingMode' method: 'setHighlightingMode'
params: $scope.highlightingMode params: $scope.highlightingMode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment