mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 14:19:13 +00:00
Full Imports and Code Format Optimization
This commit is contained in:
1 parent
250edf099c
commit
6815f579a7
1192 files changed
+60344
-62167
No files matched your search
@@ -122,7 +122,7 @@ public class GuiToggleButton extends GuiNpcButton {
|
||||
// Knob width equals half of the button (20 pixels).
|
||||
int knobWidth = FIXED_WIDTH / 2;
|
||||
// The knob slides from xPosition (OFF) to xPosition + (FIXED_WIDTH - knobWidth) (ON).
|
||||
int knobX = this.xPosition + (int)((FIXED_WIDTH - knobWidth) * animProgress);
|
||||
int knobX = this.xPosition + (int) ((FIXED_WIDTH - knobWidth) * animProgress);
|
||||
int knobY = this.yPosition;
|
||||
|
||||
// Draw the knob with no tint.
|
||||
|
||||
Reference in new issue
Block a user