File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
packages/o-spreadsheet-engine/src/plugins/ui_feature Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ export class TableComputedStylePlugin extends UIPlugin {
7272 for ( const colIdx of Object . keys ( tableStyles ) ) {
7373 const colStyle = tableStyles [ colIdx ] ;
7474 const col = parseInt ( colIdx ) ;
75+ if ( col < zone . left || col > zone . right ) continue ;
7576 for ( const rowIdx of Object . keys ( colStyle ) ) {
7677 const cellStyle = colStyle [ rowIdx ] ;
7778 if ( cellStyle ) {
@@ -98,6 +99,7 @@ export class TableComputedStylePlugin extends UIPlugin {
9899 for ( const colIdx of Object . keys ( tableBorders ) ) {
99100 const colStyle = tableBorders [ colIdx ] ;
100101 const col = parseInt ( colIdx ) ;
102+ if ( col < zone . left || col > zone . right ) continue ;
101103 for ( const rowIdx of Object . keys ( colStyle ) ) {
102104 const cellBorder = colStyle [ rowIdx ] ;
103105 if ( cellBorder ) {
You can’t perform that action at this time.
0 commit comments