UI Texture Update (#406)
* Update UI textures * Update Inventory UI textures * Update heart textures * New X texture * Make Scrollbar thicker * Revert previous commit * Thicken creative inventory scrollbar again * Change X again --------- Co-authored-by: Archbirdplus <archbirdplus@gmail.com>
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 109 B |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 109 B |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 109 B |
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 369 B |
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 354 B |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 149 B |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 364 B |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 154 B |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 140 B |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 700 B After Width: | Height: | Size: 385 B |
Before Width: | Height: | Size: 675 B After Width: | Height: | Size: 169 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 111 B |
Before Width: | Height: | Size: 665 B After Width: | Height: | Size: 111 B |
Before Width: | Height: | Size: 664 B After Width: | Height: | Size: 111 B |
Before Width: | Height: | Size: 726 B After Width: | Height: | Size: 126 B |
Before Width: | Height: | Size: 938 B After Width: | Height: | Size: 86 B |
Before Width: | Height: | Size: 938 B After Width: | Height: | Size: 316 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 86 B |
Before Width: | Height: | Size: 846 B After Width: | Height: | Size: 261 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 122 B |
Before Width: | Height: | Size: 706 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 164 B |
@ -13,7 +13,7 @@ const ScrollBar = GuiComponent.ScrollBar;
|
||||
|
||||
const VerticalList = @This();
|
||||
|
||||
const scrollBarWidth = 5;
|
||||
const scrollBarWidth = 10;
|
||||
const border: f32 = 3;
|
||||
|
||||
pos: Vec2f,
|
||||
@ -173,4 +173,4 @@ pub fn mainButtonReleased(self: *VerticalList, mousePosition: Vec2f) void {
|
||||
for(self.children.items) |*child| {
|
||||
child.mainButtonReleased(mousePosition - shiftedPos);
|
||||
}
|
||||
}
|
||||
}
|
||||
|