fix: Rail component should have a higher rendering priority (#1585)

This commit is contained in:
三咲雅 · Misaki Masa 2024-09-01 16:51:05 +08:00 committed by GitHub
parent fdd574997b
commit 3a2dd30166
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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