Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
skiko
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liuqiang
skiko
Commits
c7365be7
Commit
c7365be7
authored
Apr 06, 2021
by
Roman Sedaikin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo.
parent
168b0b51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Drawlayer.mm
skiko/src/jvmMain/objectiveC/macos/Drawlayer.mm
+3
-3
No files found.
skiko/src/jvmMain/objectiveC/macos/Drawlayer.mm
View file @
c7365be7
...
@@ -82,7 +82,7 @@ LayerHandler * findByObject(JNIEnv *env, jobject object)
...
@@ -82,7 +82,7 @@ LayerHandler * findByObject(JNIEnv *env, jobject object)
extern "C"
extern "C"
{
{
NSWindow *rec
oursive
Search(NSView *rootView, CALayer *layer) {
NSWindow *rec
ursiveWindow
Search(NSView *rootView, CALayer *layer) {
if (rootView.subviews == nil || rootView.subviews.count == 0) {
if (rootView.subviews == nil || rootView.subviews.count == 0) {
return nil;
return nil;
}
}
...
@@ -90,7 +90,7 @@ NSWindow *recoursiveSearch(NSView *rootView, CALayer *layer) {
...
@@ -90,7 +90,7 @@ NSWindow *recoursiveSearch(NSView *rootView, CALayer *layer) {
if (child.layer == layer) {
if (child.layer == layer) {
return rootView.window;
return rootView.window;
}
}
NSWindow* recOut = rec
oursive
Search(child, layer);
NSWindow* recOut = rec
ursiveWindow
Search(child, layer);
if (recOut != nil) {
if (recOut != nil) {
return recOut;
return recOut;
}
}
...
@@ -102,7 +102,7 @@ NSWindow *findCALayerWindow(NSView *rootView, CALayer *layer) {
...
@@ -102,7 +102,7 @@ NSWindow *findCALayerWindow(NSView *rootView, CALayer *layer) {
if (rootView.layer == layer) {
if (rootView.layer == layer) {
return rootView.window;
return rootView.window;
}
}
return rec
oursive
Search(rootView, layer);
return rec
ursiveWindow
Search(rootView, layer);
}
}
JNIEXPORT void JNICALL Java_org_jetbrains_skiko_HardwareLayer_nativeInit(JNIEnv *env, jobject canvas, jlong platformInfoPtr)
JNIEXPORT void JNICALL Java_org_jetbrains_skiko_HardwareLayer_nativeInit(JNIEnv *env, jobject canvas, jlong platformInfoPtr)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment