lightproxy icon indicating copy to clipboard operation
lightproxy copied to clipboard

Drag titlebar not work after scroll down rule content

Open xcodebuild opened this issue 5 years ago • 1 comments

Describe the bug Drag titlebar not work after scroll down rule content

To Reproduce Steps to reproduce the behavior:

  1. Scroll a rule content
  2. Drag titlebar

Expected behavior Window should be draged.

Screenshots

Desktop (please complete the following information):

  • OS: macOS
  • Version: 1.1.13

Log Log at ~/Library/Logs/Electron/renderer.log and ~/Library/Logs/Electron/main.log

xcodebuild avatar Apr 26 '20 11:04 xcodebuild

image

看起来是因为 editor 的一个绝对定位的浮层盖住了上面的 titlebar,可以参照 https://stackoverflow.com/questions/44818508/how-do-i-move-a-frameless-window-in-electron-without-using-webkit-app-region/44823888 的方式用一个绝对定位的 titlebar 解决这个问题。

不过需要处理下样式上的问题,例如透出后面的按钮,颜色等等。

xcodebuild avatar Apr 29 '20 05:04 xcodebuild