Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 13, 2024
1 parent ef0a857 commit 89301be
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions plugins/lua/stockpiles.lua
Original file line number Diff line number Diff line change
Expand Up @@ -457,19 +457,19 @@ function StockpilesOverlay:init()
frame_background=gui.CLEAR_PEN,
visible=is_expanded,
subviews={
widgets.Label{
widgets.Label{
frame={t=0, l=0, h=1},
auto_height=false,
text={'Import/Export settings:'},
text_pen=COLOR_DARKGREY,
},
},
widgets.HotkeyLabel{
frame={t=1, l=0},
label='import',
auto_width=true,
key='CUSTOM_CTRL_I',
on_activate=self:callback('do_import'), -- Calls the do_import function
},
},
widgets.HotkeyLabel{
frame={t=1, l=16},
label='export',
Expand All @@ -485,7 +485,7 @@ function StockpilesOverlay:init()
auto_height=false,
text={'Auto-designate stockpile items/animals for:'},
text_pen=COLOR_DARKGREY,
},
},
widgets.ToggleHotkeyLabel{
view_id='melt',
frame={t=1, l=0},
Expand All @@ -496,7 +496,7 @@ function StockpilesOverlay:init()
{label='Melting', value=false}},
initial_option=false,
on_change=self:callback('toggleLogisticsFeature', 'melt'),
},
},
widgets.ToggleHotkeyLabel{
view_id='trade',
frame={t=1, l=16},
Expand All @@ -507,7 +507,7 @@ function StockpilesOverlay:init()
{label='Trading', value=false}},
initial_option=false,
on_change=self:callback('toggleLogisticsFeature', 'trade'),
},
},
widgets.ToggleHotkeyLabel{
view_id='dump',
frame={t=2, l=0},
Expand All @@ -518,7 +518,7 @@ function StockpilesOverlay:init()
{label='Dumping', value=false}},
initial_option=false,
on_change=self:callback('toggleLogisticsFeature', 'dump'),
},
},
widgets.ToggleHotkeyLabel{
view_id='train',
frame={t=1, l=32},
Expand All @@ -529,7 +529,7 @@ function StockpilesOverlay:init()
{label='Training', value=false}},
initial_option=false,
on_change=self:callback('toggleLogisticsFeature', 'train'),
},
},
widgets.CycleHotkeyLabel{
view_id='forbid',
frame={t=2, l=16, w=16},
Expand Down

0 comments on commit 89301be

Please sign in to comment.