We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 3.1.1
Short overview When calling screen.highlight in an Electron application quits the Electron application
screen.highlight
Issue occurs on
macOS Ventura, 13.3.1
Steps to reproduce error A simple Electron application with something like
const { app, BrowserWindow } = require('electron') const {screen, Region} = require("@nut-tree/nut-js"); const path = require('path') // modify your existing createWindow() function const createWindow = () => { const win = new BrowserWindow({ width: 800, height: 600, webPreferences: { preload: path.join(__dirname, 'preload.js') } }) win.loadFile('index.html') } app.on('window-all-closed', () => { if (process.platform !== 'darwin') app.quit() }) app.whenReady().then(() => { createWindow() screen.highlight(new Region(0, 0, 100, 100)); app.on('activate', () => { if (BrowserWindow.getAllWindows().length === 0) createWindow() }) })
The text was updated successfully, but these errors were encountered:
(nut-tree/nut.js#505) Adapt changes from bolt to libnut screengrab im…
26ef091
…plementation
c1a124c
…plementation (#161)
Implemented in https://github.com/nut-tree/nut.js/releases/tag/v3.1.2
Sorry, something went wrong.
No branches or pull requests
Version
3.1.1
Short overview
When calling
screen.highlight
in an Electron application quits the Electron applicationIssue occurs on
macOS Ventura, 13.3.1
Steps to reproduce error
A simple Electron application with something like
The text was updated successfully, but these errors were encountered: