0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 09:50:43 -05:00

4 Commits

Author SHA1 Message Date
Lacyway
a5ff17e4da Update BundleUtils (!148)
- Fixes problems with `GUI.skin`
- More efficient code

No longer breaks other IMGUI elements from my testing as the `GUIStyle` is isolated. Please test with SAIN and other possible mods.

Co-authored-by: Lacyway <20912169+Lacyway@users.noreply.github.com>
Reviewed-on: SPT/Modules#148
Co-authored-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
Co-committed-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
(cherry picked from commit 34e84ff737df51f8a9d91c25fd3d5da54114e0de)
2024-07-08 12:38:34 +01:00
Dev
b5271e88fa Extracted CreateRectangle() from OnGUI() 2024-06-18 20:24:37 +01:00
Dev
ddfd5c36a5 Adjusted window draw logic 2024-06-18 20:19:31 +01:00
Lacyway
d9747c16cc Add GUI Component to Bundle Loading (!140)
This gives users feedback that the game is currently loading bundles, which prevents confusion when a large amount of them are being loaded and the game is "seemingly" infinitely loading.
The implementation is very bare bones, feel free to modify it to your liking if you want it to use a more fancy user interface. I went for clarity (black background, white text). With the standard `OnGUI` skin it's very hard to discern the text.
Tested on 1440p and 1080p.

![image](/attachments/31a818d6-d101-4e5d-a2c5-541c8b48ba71)

Co-authored-by: Lacyway <20912169+Lacyway@users.noreply.github.com>
Reviewed-on: SPT/Modules#140
Co-authored-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
Co-committed-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
2024-06-18 19:03:36 +00:00