1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-22 18:58:02 +00:00

Merge pull request from overleaf/jk-cm6-heartbeat

[web] Move on-scroll heartbeat tracking from ace to IDE

GitOrigin-RevId: e39bc9ebffde228c4a2d6045837fae3b64219bed
This commit is contained in:
June Kelly 2022-02-03 09:37:55 +00:00 committed by Copybot
parent 81ce1d97f2
commit 4b14a14819
2 changed files with 1 additions and 2 deletions
services/web/frontend/js
ide.js
ide/editor/directives

View file

@ -257,6 +257,7 @@ If the project has been renamed please look in your project list for a new proje
})
$scope.$on('cursor:editor:update', eventTracking.editingSessionHeartbeat)
$scope.$on('scroll:editor:update', eventTracking.editingSessionHeartbeat)
const DARK_THEMES = [
'ambiance',

View file

@ -818,8 +818,6 @@ App.directive(
// deletes and then inserts document content
session.setAnnotations(scope.annotations)
session.on('changeScrollTop', eventTracking.editingSessionHeartbeat)
angular
.element($window)
.on('click', eventTracking.editingSessionHeartbeat)