mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 461751 - zoomAndPan=disable prevents programmatic zoom. r+sr=roc
This commit is contained in:
parent
0b43a90166
commit
febc31f5d7
@ -785,9 +785,7 @@ nsSVGOuterSVGFrame::GetCanvasTM()
|
||||
// our content is the document element so we must premultiply the values
|
||||
// of its currentScale and currentTranslate properties
|
||||
if (mCurrentScale &&
|
||||
mCurrentTranslate &&
|
||||
svgElement->mEnumAttributes[nsSVGSVGElement::ZOOMANDPAN].GetAnimValue()
|
||||
== nsIDOMSVGZoomAndPan::SVG_ZOOMANDPAN_MAGNIFY) {
|
||||
mCurrentTranslate) {
|
||||
nsCOMPtr<nsIDOMSVGMatrix> zoomPanMatrix;
|
||||
nsCOMPtr<nsIDOMSVGMatrix> temp;
|
||||
float scale, x, y;
|
||||
|
Loading…
Reference in New Issue
Block a user