Skip to content

Commit

Permalink
Update packages/two_dimensional_scrollables/lib/src/table_view/table.…
Browse files Browse the repository at this point in the history
…dart
  • Loading branch information
Piinks authored Jan 18, 2024
1 parent 39d327e commit 0680472
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -922,11 +922,11 @@ class RenderTableViewport extends RenderTwoDimensionalViewport {
Rect getRowRect(bool consumePadding) {
final double leadingOffsetCorrection =
axisDirectionIsReversed(horizontalAxisDirection)
? leadingCell.size.height
? leadingCell.size.width
: 0.0;
final double trailingOffsetCorrection =
axisDirectionIsReversed(horizontalAxisDirection)
? trailingCell.size.height
? trailingCell.size.width
: 0.0;
return Rect.fromPoints(
parentDataOf(leadingCell).paintOffset! +
Expand Down

0 comments on commit 0680472

Please sign in to comment.