Fix emitted signals in wibox.layout.stack:set_horizontal_offset()

This commit is contained in:
PlayerNameHere 2020-09-27 23:58:22 +08:00
parent 13e41a2a7b
commit 2647e1c855
1 changed files with 2 additions and 2 deletions

View File

@ -170,8 +170,8 @@ end
function stack:set_horizontal_offset(value) function stack:set_horizontal_offset(value)
self._private.h_offset = value self._private.h_offset = value
self:emit_signal("widget::horizontal_offset") self:emit_signal("widget::layout_changed")
self:emit_signal("property::top_only", value) self:emit_signal("property::horizontal_offset", value)
end end
function stack:set_vertical_offset(value) function stack:set_vertical_offset(value)