mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2024-11-23 15:43:48 +01:00
Move statbars 2 pixels up
This commit is contained in:
parent
d3e51926bc
commit
7cf82b4e2f
4
init.lua
4
init.lua
@ -69,9 +69,9 @@ if hb.settings.bar_type == "progress_bar" then
|
||||
hb.settings.start_offset_right.y = hb.load_setting("hudbars_start_offset_right_y", "number", -86)
|
||||
else
|
||||
hb.settings.start_offset_left.x = hb.load_setting("hudbars_start_statbar_offset_left_x", "number", -265)
|
||||
hb.settings.start_offset_left.y = hb.load_setting("hudbars_start_statbar_offset_left_y", "number", -88)
|
||||
hb.settings.start_offset_left.y = hb.load_setting("hudbars_start_statbar_offset_left_y", "number", -90)
|
||||
hb.settings.start_offset_right.x = hb.load_setting("hudbars_start_statbar_offset_right_x", "number", 25)
|
||||
hb.settings.start_offset_right.y = hb.load_setting("hudbars_start_statbar_offset_right_y", "number", -88)
|
||||
hb.settings.start_offset_right.y = hb.load_setting("hudbars_start_statbar_offset_right_y", "number", -90)
|
||||
end
|
||||
hb.settings.vmargin = hb.load_setting("hudbars_vmargin", "number", 24)
|
||||
hb.settings.tick = hb.load_setting("hudbars_tick", "number", 0.1)
|
||||
|
@ -99,7 +99,7 @@ hudbars_start_statbar_offset_left_x (Left HUD statbar x offset) int -265
|
||||
# Precise y offset in pixels from the basic screen y position of the HUD statbars.
|
||||
# For the zig-zag alignment pattern, this is for the left HUD statbars.
|
||||
# This setting is used for the classic and modern statbar styles.
|
||||
hudbars_start_statbar_offset_left_y (Left HUD statbar y offset) int -88
|
||||
hudbars_start_statbar_offset_left_y (Left HUD statbar y offset) int -90
|
||||
# Precise x offset in pixels from the basic screen x position of the right HUD statbars.
|
||||
# Only used for the zig-zag alignment pattern.
|
||||
# This setting is used for the classic and modern statbar styles.
|
||||
@ -107,7 +107,7 @@ hudbars_start_statbar_offset_right_x (Right HUD statbar x offset) int 25
|
||||
# Precise y offset in pixels from the basic screen y position of the right HUD statbars.
|
||||
# Only used for the zig-zag alignment pattern.
|
||||
# This setting is used for the classic and modern statbar styles.
|
||||
hudbars_start_statbar_offset_right_y (Right HUD statbar y offset) int -88
|
||||
hudbars_start_statbar_offset_right_y (Right HUD statbar y offset) int -90
|
||||
|
||||
# The vertical distance between two HUD bars, in pixels.
|
||||
hudbars_vmargin (Vertical distance between HUD bars) int 24 0
|
||||
|
Loading…
Reference in New Issue
Block a user