Refine utility pin toggle visuals
This commit is contained in:
@@ -39,10 +39,8 @@ bool IsVerboseResizeTraceEnabled() {
|
||||
}
|
||||
|
||||
bool IsChromeButtonTarget(Host::BorderlessWindowChromeHitTarget target) {
|
||||
return target == Host::BorderlessWindowChromeHitTarget::PinButton ||
|
||||
target == Host::BorderlessWindowChromeHitTarget::MinimizeButton ||
|
||||
target == Host::BorderlessWindowChromeHitTarget::MaximizeRestoreButton ||
|
||||
target == Host::BorderlessWindowChromeHitTarget::CloseButton;
|
||||
return Host::ResolveBorderlessWindowChromeButtonBehavior(target) !=
|
||||
Host::BorderlessWindowChromeButtonBehavior::None;
|
||||
}
|
||||
|
||||
float ResolveLeadingChromeButtonLeft(
|
||||
|
||||
Reference in New Issue
Block a user