Fix readonly issue in history mode

pull/1/head
yflory 4 years ago
parent 61df9d5254
commit 945a436eb2

@ -883,7 +883,7 @@ define([
onEditableChange: evEditableStateChange.reg, onEditableChange: evEditableStateChange.reg,
// Determine whether the UI should be locked for editing. // 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. // Determine whether the pad is a "read only" pad and cannot be changed.
isReadOnly: function () { return readOnly; }, isReadOnly: function () { return readOnly; },

Loading…
Cancel
Save