Skip to content

Commit

Permalink
Fixed inventory scroll bar alignment in widescreen mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Decane committed Nov 27, 2023
1 parent 5db8920 commit 27d35e3
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
1 change: 1 addition & 0 deletions SRP v1.1.4 - Version History.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ v1.1.4
+ Fixed a badly positioned NPC sleep waypoint in the bandit base at the Garbage, in the army base at the Cordon, and at the 'Makeshift encampment' at the Cordon. - Decane
+ Added support for toggling location names on the world map via the alife_command key binding. - Decane
+ Added a 'Move to Backpack'/'Attach to Belt' option to the menu that appears when right-clicking a detector in the inventory. - Lebedev88
+ Fixed the alignment of the scroll bar in the inventory in widescreen mode. - Georgiy-Timoshin
+ Fixed minor UI bugs in the controls menu. - Georgiy-Timoshin
+ (Optional) Added a feature to disable weapon sway while strafing.
- Removed the need to install the Widescreen Patch in a separate step by automating its application when a widescreen resolution is used. - Georgiy-Timoshin
Expand Down
54 changes: 54 additions & 0 deletions gamedata/configs/ui/scroll_bar_16.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<scroll_bar>
<default height="15" height_v="15" hold_delay="40">
<up_arrow width="15" height="16">
<texture_e>ui_scroll_btn_up</texture_e>
</up_arrow>
<down_arrow width="15" height="16">
<texture_e>ui_scroll_btn_down</texture_e>
</down_arrow>
<back_v width="15" height="13">
<texture>ui_scroll_back</texture>
</back_v>
<box_v>
<texture>ui_scroll_box</texture>
</box_v>
</default>

<pda height="17" height_v="14" hold_delay="40">
<up_arrow width="14" height="21">
<texture_e>ui_scroll_PDA_btn_up_e</texture_e>
<texture_h>ui_scroll_PDA_btn_up_h</texture_h>
<texture_t>ui_scroll_PDA_btn_up_t</texture_t>
</up_arrow>
<down_arrow width="14" height="30">
<texture_e>ui_scroll_PDA_btn_down_e</texture_e>
<texture_h>ui_scroll_PDA_btn_down_h</texture_h>
<texture_t>ui_scroll_PDA_btn_down_t</texture_t>
</down_arrow>

<left_arrow width="18" height="17">
<texture_e>ui_scroll_PDA_btn_left_e</texture_e>
<texture_h>ui_scroll_PDA_btn_left_h</texture_h>
<texture_t>ui_scroll_PDA_btn_left_t</texture_t>
</left_arrow>
<right_arrow width="18" height="17">
<texture_e>ui_scroll_PDA_btn_right_e</texture_e>
<texture_h>ui_scroll_PDA_btn_right_h</texture_h>
<texture_t>ui_scroll_PDA_btn_right_t</texture_t>
</right_arrow>

<back width="14" height="14">
<texture>ui_scroll_PDA_back</texture>
</back>
<back_v width="14" height="14">
<texture>ui_scroll_PDA_back_16</texture>
</back_v>

<box>
<texture>ui_scroll_PDA_move</texture>
</box>
<box_v>
<texture>ui_scroll_PDA_move_16</texture>
</box_v>
</pda>
</scroll_bar>

0 comments on commit 27d35e3

Please sign in to comment.