Beginning in Electron 23, a drag region on top of a no-drag region will correctly cause the region to be draggable.Īdditionally, the customButtonsOnHover BrowserWindow property previously created a draggable region which ignored the -webkit-app-region CSS property. That is, if a drag region was above a no-drag region, it would be ignored. Previously, when a region with -webkit-app-region: no-drag overlapped a region with -webkit-app-region: drag, the no-drag region would always take precedence on macOS, regardless of CSS layering. The implementation of draggable regions (using the CSS property -webkit-app-region: drag) has changed on macOS to bring it in line with Windows and Linux. Planned Breaking API Changes (23.0) Behavior Changed: Draggable Regions on macOS Use the new updated event on the nativeTheme module instead. The following systemPreferences events have been removed: Removed: color scheme events in systemPreferences The senderId and senderIsMainFrame properties of IpcRendererEvent have been deprecated as well. It should be replaced by setting up a MessageChannel between the renderers. Or later will be required to run Electron v27.0.0 and higher. Older versions of Electron will continue to run on these operating systems, but macOS 10.15 (Catalina) MacOS 10.13 (High Sierra) and macOS 10.14 (Mojave) are no longer supported by Chromium. Planned Breaking API Changes (27.0) Removed: macOS 10.13 / 10.14 support Removed: An API or feature was removed, and is no longer supported by Electron.The API will continue to function, but will emit a deprecation warning, and will be removed in a future release. Deprecated: An API was marked as deprecated.The old behavior can be restored by explicitly specifying the value. Default Changed: Code depending on the old default may break, not necessarily throwing an exception.Behavior Changed: The behavior of Electron has changed, but not in such a way that an exception will necessarily be thrown. API Changed: An API was changed in such a way that code that has not been updated is guaranteed to throw an exception.This document uses the following convention to categorize breaking changes: Breaking changes will be documented here, and deprecation warnings added to JS code where possible, at least one major version before the change is made.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |