Skip to content

Commit

Permalink
Merge pull request #35 from lichess-org/fix_edge_clipping
Browse files Browse the repository at this point in the history
Fix board background clipping
  • Loading branch information
veloce authored May 14, 2024
2 parents 3839c56 + 4c4f097 commit 3407da7
Show file tree
Hide file tree
Showing 4 changed files with 168 additions and 166 deletions.
2 changes: 1 addition & 1 deletion example/lib/board_thumbnails.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class BoardThumbnailsPage extends StatelessWidget {
size: constraints.biggest.width,
settings: BoardSettings(
enableCoordinates: false,
borderRadius: BorderRadius.circular(4),
borderRadius: BorderRadius.circular(5),
boxShadow: [
BoxShadow(
color: const Color(0x00000000).withOpacity(0.14),
Expand Down
4 changes: 2 additions & 2 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: a75f83f14ad81d5fe4b3319710b90dec37da0e22612326b696c9e1b8f34bbf48
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
url: "https://pub.dev"
source: hosted
version: "14.2.0"
version: "14.2.1"
sdks:
dart: ">=3.3.0 <4.0.0"
flutter: ">=3.18.0-18.0.pre.54"
1 change: 1 addition & 0 deletions lib/src/models.dart
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ final List<Coord> allCoords = List.unmodifiable([
]);

/// Square highlight color or image on the chessboard.
@immutable
class HighlightDetails {
const HighlightDetails({
this.solidColor,
Expand Down
Loading

0 comments on commit 3407da7

Please sign in to comment.