Merge pull request #1610 from symac/patch-1

Total number of operations for Undo / Redo
This commit is contained in:
Antonin Delpeuch 2018-05-18 22:01:54 +02:00 committed by GitHub
commit 5d4ba26c11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ HistoryPanel.prototype.update = function(onDone) {
HistoryPanel.prototype._render = function() {
var self = this;
this._tabHeader.html($.i18n._('core-project')["undo-redo"]+' <span class="count">' + this._data.past.length + '</span>');
this._tabHeader.html($.i18n._('core-project')["undo-redo"]+' <span class="count">' + this._data.past.length + ' / ' + ( this._data.future.length + this._data.past.length ) + '</span>');
this._div.empty().unbind().html(DOM.loadHTML("core", "scripts/project/history-panel.html"));