Compare commits

..
1 Commits
Author SHA1 Message Date
selimaj-devandclaude 524fc36bf3 Say glass is up to the render scope, not the version
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 21:55:47 +02:00
@@ -56,8 +56,8 @@ public interface RenderScope {
/** /**
* Frosts a rounded rectangle for a translucent background to be drawn over: * Frosts a rounded rectangle for a translucent background to be drawn over:
* the game behind the screen, blurred by {@code blur}, cut to exactly the * the game behind the screen, blurred by {@code blur}, cut to exactly the
* shape {@link #drawRoundedRectangle} draws. Draws nothing on versions * shape {@link #drawRoundedRectangle} draws. Render scopes without glass
* without glass. * draw nothing.
*/ */
default void drawGlass(int x, int y, int width, int height, int radius, int blur) { default void drawGlass(int x, int y, int width, int height, int radius, int blur) {
drawGlass(getRoundedRectangle(width, height, radius), x, y, width, height, blur); drawGlass(getRoundedRectangle(width, height, radius), x, y, width, height, blur);