aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/viewer/SlideDir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/viewer/SlideDir.cpp')
-rw-r--r--tools/viewer/SlideDir.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/viewer/SlideDir.cpp b/tools/viewer/SlideDir.cpp
index a7fe77b263..ce036b4885 100644
--- a/tools/viewer/SlideDir.cpp
+++ b/tools/viewer/SlideDir.cpp
@@ -14,6 +14,7 @@
#include "SkSGColor.h"
#include "SkSGDraw.h"
#include "SkSGGroup.h"
+#include "SkSGPlane.h"
#include "SkSGRect.h"
#include "SkSGRenderNode.h"
#include "SkSGScene.h"
@@ -110,7 +111,7 @@ public:
fMap.setPts(kFocusCtrl1, kFocusCtrl0);
fShadePaint = sksg::Color::Make(kFocusShade);
- fShade = sksg::Draw::Make(sksg::Rect::Make(SkRect::MakeSize(dir->fWinSize)), fShadePaint);
+ fShade = sksg::Draw::Make(sksg::Plane::Make(), fShadePaint);
}
bool hasFocus() const { return fState == State::kFocused; }