mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-22 18:58:02 +00:00
Merge pull request #6573 from overleaf/jk-cm6-heartbeat
[web] Move on-scroll heartbeat tracking from ace to IDE GitOrigin-RevId: e39bc9ebffde228c4a2d6045837fae3b64219bed
This commit is contained in:
parent
81ce1d97f2
commit
4b14a14819
2 changed files with 1 additions and 2 deletions
services/web/frontend/js
|
@ -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',
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue