fix: Rail component should have a higher rendering priority

This commit is contained in:
sxyazi 2024-09-01 16:50:17 +08:00
parent fdd574997b
commit 80ffc377ca
No known key found for this signature in database

View file

@ -22,10 +22,10 @@ end
function Tab:build()
self._children = {
Rail:new(self._chunks, self._tab),
Parent:new(self._chunks[1]:padding(ui.Padding.x(1)), self._tab),
Current:new(self._chunks[2], self._tab),
Preview:new(self._chunks[3]:padding(ui.Padding.x(1)), self._tab),
Rail:new(self._chunks, self._tab),
}
end