Visual Overhaul

Visual Overhaul

883k Downloads

CC:T compitability issue

SirEdvin opened this issue ยท 2 comments

commented

So, with VisualOverhaul installed, CC:T gui screens for computers and turtle doesn't get focus, when you first open them. There is possible to click on gui screen with mouse to set focus for this screen, but this is not how it should works.

Mirror issue in CC:T repository

commented

Thanks for the help, SquidDev!

commented

I've left some additional notes on the CC:T issue, but I think the easiest fix here is for VisualOverhaul to not call init inside the constructor of IconicButtons:

public IconicButtons(ClickableWidget widget) {
init(widget);
}

This ensures that no virtual methods are called when constructing a PressableWidget, and so you don't run the risk of accessing uninitialised state.