diff options
author | bobzel <zzzman@gmail.com> | 2020-09-16 13:37:22 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-16 13:37:22 -0400 |
commit | 7c628f44e72a7d0b4c40c561dca4101712540e87 (patch) | |
tree | 1d378891fe87f98be6055a2208236a0f5a4df3ee /src/client/util/SettingsManager.tsx | |
parent | 4fc10a64e35234da2dafd03c3f53f5e080e754d2 (diff) |
added a global option to determine whether documents are brought to front when dragged. fixed document override of this option to use the same variable _raiseWhenDragged.
Diffstat (limited to 'src/client/util/SettingsManager.tsx')
-rw-r--r-- | src/client/util/SettingsManager.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/util/SettingsManager.tsx b/src/client/util/SettingsManager.tsx index d4c92b20f..5b8fe3576 100644 --- a/src/client/util/SettingsManager.tsx +++ b/src/client/util/SettingsManager.tsx @@ -118,9 +118,9 @@ export class SettingsManager extends React.Component<{}> { checked={BoolCast(Doc.UserDoc()["documentLinksButton-hideEnd"])} /> </div> <div> - Autoscroll - <input type="checkbox" onChange={e => Doc.UserDoc()._noAutoscroll = !Doc.UserDoc()._noAutoscroll} - checked={!BoolCast(Doc.UserDoc()._noAutoscroll)} /> + <div className="preferences-check">Raise on drag</div> + <input type="checkbox" onChange={e => Doc.UserDoc()._raiseWhenDragged = !Doc.UserDoc()._raiseWhenDragged} + checked={BoolCast(Doc.UserDoc()._raiseWhenDragged)} /> </div> </div> </div>; |