Commit 2b611ccb8393d34c3e9a55e156f2416f09a700b0

Authored by ww
1 parent 8dfd475d

feat: hidden Sidebar scratchpad ?

... ... @@ -3655,18 +3655,19 @@
3655 3655
3656 3656 if (!this.isOffline() && file.title == '.scratchpad' && EditorUi.scratchpadHelpLink != null)
3657 3657 {
3658   - var link = document.createElement('span');
3659   - link.setAttribute('title', mxResources.get('help'));
3660   - link.style.cssText = 'color:#a3a3a3;text-decoration:none;margin-right:2px;cursor:pointer;';
3661   - mxUtils.write(link, '?');
3662   -
3663   - mxEvent.addGestureListeners(link, mxUtils.bind(this, function(evt)
3664   - {
3665   - this.openLink(EditorUi.scratchpadHelpLink);
3666   - mxEvent.consume(evt);
3667   - }));
3668   -
3669   - buttons.insertBefore(link, buttons.firstChild);
  3658 + // TODO thingsKit 隐藏 Sidebar 便笺本 ?
  3659 + // var link = document.createElement('span');
  3660 + // link.setAttribute('title', mxResources.get('help'));
  3661 + // link.style.cssText = 'color:#a3a3a3;text-decoration:none;margin-right:2px;cursor:pointer;';
  3662 + // mxUtils.write(link, '?');
  3663 + //
  3664 + // mxEvent.addGestureListeners(link, mxUtils.bind(this, function(evt)
  3665 + // {
  3666 + // this.openLink(EditorUi.scratchpadHelpLink);
  3667 + // mxEvent.consume(evt);
  3668 + // }));
  3669 + //
  3670 + // buttons.insertBefore(link, buttons.firstChild);
3670 3671 }
3671 3672 }
3672 3673
... ...