-
Notifications
You must be signed in to change notification settings - Fork 710
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
browser: slideshow: open presenter in secondary screen #10460
base: master
Are you sure you want to change the base?
Conversation
Change-Id: Ifa0410075ceb25b01797f6219356adc184a74b31 Signed-off-by: Henry Castro <[email protected]>
aaddf15
to
e756a89
Compare
// if the device has more than one screen. | ||
if ((window.screen as any).isExtended) { | ||
const details = await (window as any).getScreenDetails(); | ||
const secondary = details.screens.find(function (s: any) { |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
return s !== s.primaryScreen; | ||
}); | ||
options += | ||
'left=${secondary.availLeft},' + |
Check warning
Code scanning / CodeQL
Template syntax in string literal Warning
secondary
}); | ||
options += | ||
'left=${secondary.availLeft},' + | ||
'top=${secondary.availTop},' + |
Check warning
Code scanning / CodeQL
Template syntax in string literal Warning
secondary
options += | ||
'left=${secondary.availLeft},' + | ||
'top=${secondary.availTop},' + | ||
'width=${secondary.availWidth},' + |
Check warning
Code scanning / CodeQL
Template syntax in string literal Warning
secondary
'left=${secondary.availLeft},' + | ||
'top=${secondary.availTop},' + | ||
'width=${secondary.availWidth},' + | ||
'height=${secondary.availHeight}'; |
Check warning
Code scanning / CodeQL
Template syntax in string literal Warning
Change-Id: Ifa0410075ceb25b01797f6219356adc184a74b31
Signed-off-by: Henry Castro [email protected]