Skip to content

Commit

Permalink
feat: add public into GuiNodes
Browse files Browse the repository at this point in the history
  • Loading branch information
TimeBather committed Dec 13, 2024
1 parent 7d70cab commit a56fdc9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class GuiCanvasNode extends GuiDomNode{

CanvasRenderer renderer;

GuiCanvasNode(GuiContext context) {
public GuiCanvasNode(GuiContext context) {
super(context);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ protected void fontSizeUpdated() {

}

GuiDomNode(GuiContext context){
public GuiDomNode(GuiContext context){
super(context);
attributes.registerProxy("style",new StyleAttributeProxy(styles));
styles.setCallback(this::onStyleUpdate);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class GuiTextNode extends GuiDomNode implements MayMeasurable {
return Pair.of((int)measureResult.x,(int)measureResult.y);
});

GuiTextNode(GuiContext context) {
public GuiTextNode(GuiContext context) {
super(context);
this.attributes.registerProxy("content", new AttributeProxy() {
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

@V8Convert()
public class GuiViewNode extends GuiDomNode{
GuiViewNode(GuiContext context) {
public GuiViewNode(GuiContext context) {
super(context);
}
}

0 comments on commit a56fdc9

Please sign in to comment.