Optimisation

This commit is contained in:
Alexei Anoshenko 2026-06-08 17:16:36 +03:00
parent 9a6bb43800
commit 1ed86c069e
2 changed files with 3 additions and 3 deletions

View File

@ -414,8 +414,8 @@ func (gridLayout *gridLayoutData) createGridContent() bool {
width := adapter.GridColumnCount()
height := adapter.GridRowCount()
for column := 0; column < width; column++ {
for row := 0; row < height; row++ {
for column := range width {
for row := range height {
if view := adapter.GridCellContent(row, column, session); view != nil {
view.setParentID(htmlID)

View File

@ -1135,7 +1135,7 @@ func (table *tableViewData) htmlSubviews(self View, buffer *strings.Builder) {
}
buffer.WriteString(">")
for column := 0; column < columnCount; column++ {
for column := range columnCount {
ignore := false
for _, cell := range ignoreCells {
if cell.row == row && cell.column == column {