Adds LAccess.bufferUsage, fixes wrong property names for displayWidth and displayHeight (#10679)

* Adds LAccess.bufferUsage - sensable property returning number of unprocessed commands in the graphics buffer of a display.
Fixes wrong property keys (lacess.* -> laccess.*) of the recently added displayWidth and displayHeight properties.

* Revert unnecessary bundle updates
This commit is contained in:
Cardillan
2025-04-18 16:05:56 +02:00
committed by GitHub
parent a394084f37
commit c3e2bcf2e7
5 changed files with 9 additions and 4 deletions

View File

@@ -110,6 +110,7 @@ public class LogicDisplay extends Block{
public double sense(LAccess sensor){
return switch(sensor){
case displayWidth, displayHeight -> displaySize;
case bufferUsage -> commands.size;
default -> super.sense(sensor);
};
}