From 87719f1161e031d0bfefbc01386caa43a9acc8ce Mon Sep 17 00:00:00 2001 From: Didier Korthoudt Date: Mon, 12 Oct 2020 08:51:49 +0200 Subject: [PATCH] Fixed: Adds the missing isCSSBased method for CPView (#2945) --- AppKit/CPView.j | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AppKit/CPView.j b/AppKit/CPView.j index 847bb5af5..9219f7534 100644 --- a/AppKit/CPView.j +++ b/AppKit/CPView.j @@ -3505,6 +3505,11 @@ setBoundsOrigin: #endif } +- (BOOL)isCSSBased +{ + return [[CPTheme defaultTheme] valueForAttributeWithName:@"css-based" forClass:CPView]; +} + @end