From 6f85d85c12d32613ab7d6944c8c7561ceb34ce6c Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 24 Oct 2016 10:19:51 +0900 Subject: [PATCH] Minor tweaks to flash frame section --- docs/tutorial/desktop-environment-integration.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/tutorial/desktop-environment-integration.md b/docs/tutorial/desktop-environment-integration.md index f4303e1de442..cbe1021c58df 100644 --- a/docs/tutorial/desktop-environment-integration.md +++ b/docs/tutorial/desktop-environment-integration.md @@ -308,9 +308,9 @@ win.setOverlayIcon('path/to/overlay.png', 'Description for overlay') ## Flash Frame (Windows) -On Windows you can cause the taskbar button to become highlighted. This can be -used similarly to macOS's Bounce Dock Icon to get the users attention. From the -MSDN reference documentation: +On Windows you can highlight the taskbar button to get the user's attention. +This is similar to bouncing the dock icon on macOS. +From the MSDN reference documentation: > Typically, a window is flashed to inform the user that the window requires > attention but that it does not currently have the keyboard focus. @@ -325,9 +325,9 @@ win.once('focus', () => win.flashFrame(false)) win.flashFrame(true) ``` -Don't forget to call the `flashFrame` method with false to turn off the flash. In +Don't forget to call the `flashFrame` method with `false` to turn off the flash. In the above example, it is called when the window comes into focus, but you might -use a timeout or some other event to trigger it off. +use a timeout or some other event to disable it. ## Represented File of Window (macOS)