Fix readonly issue in history mode

This commit is contained in:
yflory 2020-09-29 17:15:26 +02:00
parent 61df9d5254
commit 945a436eb2

View file

@ -883,7 +883,7 @@ define([
onEditableChange: evEditableStateChange.reg,
// Determine whether the UI should be locked for editing.
isLocked: function () { return state !== STATE.READY; },
isLocked: function () { return state !== STATE.READY || unsyncMode; },
// Determine whether the pad is a "read only" pad and cannot be changed.
isReadOnly: function () { return readOnly; },