Skip to content
New issue

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

fix: normalize behavior of win.setOpacity() for invalid number values across operating systems #19673

Merged
merged 1 commit into from Aug 7, 2019

Conversation

erickzhao
Copy link
Member

Backport of #19535

Check that PR for details.

Notes: Normalized out-of-bound value behavior for the setOpacity() API in BrowserWindow.

…es across operating systems (#19535)

* fix: define behavior for out-of-bounds setOpacity

* fix linux issue

* fix getOpacity behaviour

* wrong variable

* normalize more stuff

* docs

* test: use ifdescribe helper

* Update spec-main/api-browser-window-spec.ts

Co-Authored-By: Charles Kerr <ckerr@github.com>

* fixes

* more tests!!!

* Update shell/browser/native_window_views.cc

Co-Authored-By: Charles Kerr <ckerr@github.com>

* Update shell/browser/native_window_mac.mm

Co-Authored-By: Charles Kerr <ckerr@github.com>
@codebytere codebytere merged commit 0299f69 into 7-0-x Aug 7, 2019
@release-clerk
Copy link

release-clerk bot commented Aug 7, 2019

Release Notes Persisted

Normalized out-of-bound value behavior for the setOpacity() API in BrowserWindow.

@codebytere codebytere deleted the bp/7-0-x/set-opacity-behavior branch August 7, 2019 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7-0-x backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants