【发布时间】:2018-06-14 01:26:30
【问题描述】:
因此,electron 有一个功能,您可以通过将“frame”选项设置为 false 来制作 BrowserWindow 无框架。从版本 1.4.14 起,停靠(使用 windows 键 + 左/右)或拖动窗口(和最大化)不再起作用。
我在电子版本中找不到任何 API 更改或文档中有关此功能的任何具体内容。
我正在从 electron 1.4.4 升级到 1.7.10。
复制:https://github.com/PerfectionCSGO/electron-dwm-issue
# Clone this repository
git clone https://github.com/PerfectionCSGO/electron-dwm-issue
# Go into the repository
cd electron-quick-start
# Install dependencies
npm install
# Run the app
npm start
# Change the values around of setResizable and resizable to fiddle with the behavior.
【问题讨论】:
标签: javascript electron dwm