Skip to content

Commit 218aa2d

Browse files
committed
Frogor to enable scissors back
1 parent 4bce875 commit 218aa2d

File tree

1 file changed

+2
-3
lines changed
  • common/src/main/kotlin/com/lambda/gui/component/layout

1 file changed

+2
-3
lines changed

common/src/main/kotlin/com/lambda/gui/component/layout/Layout.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,8 @@ open class Layout(
401401
if (renderChildren) children.forEach { it.onEvent(e) }
402402
}
403403

404-
block()
405-
//if (!properties.scissor) block()
406-
//else ScissorAdapter.scissor(rect, block)
404+
if (!properties.scissor) block()
405+
else ScissorAdapter.scissor(rect, block)
407406
}
408407
}
409408

0 commit comments

Comments
 (0)