For some reason there is a black bar at the top of the client (above image, under client tab) and I have no idea what causes it. Any tips?
This is all fullscreen interfaces btw
Widget
Code:
public static Widget addFullscreenInterface(int id) {
Widget tab = interfaceCache[id] = new Widget();
tab.id = id;// 250
tab.parent = id;// 236
tab.type = 0;// 262
tab.optionType = 0;// 217
tab.contentType = 0;
tab.width = Client.frameWidth;// 220
tab.height = Client.frameHeight;// 267
tab.opacity = (byte) 0;
tab.hoverType = -1;// Int 230
return tab;
}
Client
Code:
if (openInterfaceID != -1) {
Widget rsInterface_1 = Widget.interfaceCache[openInterfaceID];
if (rsInterface_1.width == 512 && rsInterface_1.height == 334
&& rsInterface_1.type == 0) {
rsInterface_1.width = frameWidth;
rsInterface_1.height = frameHeight;
}
try {
drawInterface(0, 0, rsInterface_1, 8);
} catch (Exception ex) {
}
}
Widget rsInterface = Widget.interfaceCache[fullscreenInterfaceID];
if (rsInterface.width == 512 && rsInterface.height == 334
&& rsInterface.type == 0) {
rsInterface.width = frameWidth;
rsInterface.height = frameHeight;
}