mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1073570 - Reset the base CTM after native widget drawing. r=smichaud
This commit is contained in:
parent
9582f8800c
commit
b099146594
@ -2833,6 +2833,11 @@ nsNativeThemeCocoa::DrawWidgetBackground(nsRenderingContext* aContext,
|
||||
break;
|
||||
}
|
||||
|
||||
if (hidpi) {
|
||||
// Reset the base CTM.
|
||||
CGContextSetBaseCTM(cgContext, CGAffineTransformIdentity);
|
||||
}
|
||||
|
||||
nativeDrawing.EndNativeDrawing();
|
||||
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user