move dfhack logo over a little

develop
Myk Taylor 2023-09-13 18:02:44 -07:00
parent a7e59c8f77
commit d9cae63e4e
No known key found for this signature in database
2 changed files with 11 additions and 3 deletions

@ -26,9 +26,10 @@ end
HotspotMenuWidget = defclass(HotspotMenuWidget, overlay.OverlayWidget)
HotspotMenuWidget.ATTRS{
default_pos={x=2,y=2},
default_pos={x=5,y=1},
default_enabled=true,
hotspot=true,
hotspot=false,
version=2,
viewscreens={
'adopt_region',
'choose_game_type',
@ -170,10 +171,16 @@ end
function Menu:init()
local hotkeys, bindings = getHotkeys()
if #hotkeys == 0 then
hotkeys = {''}
bindings = {['']='gui/launcher'}
end
local is_inverted = not not self.hotspot.frame.b
local choices,list_width = get_choices(hotkeys, bindings, is_inverted)
list_width = math.max(35, list_width)
local list_frame = copyall(self.hotspot.frame)
local list_widget_frame = {h=math.min(#choices, MAX_LIST_HEIGHT)}
local quickstart_frame = {}

@ -581,7 +581,8 @@ end
TitleVersionOverlay = defclass(TitleVersionOverlay, OverlayWidget)
TitleVersionOverlay.ATTRS{
default_pos={x=7, y=2},
default_pos={x=11, y=1},
version=2,
default_enabled=true,
viewscreens='title/Default',
frame={w=35, h=5},