Skip to content
Snippets Groups Projects
Commit ed890e3a authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Merge branch '22-reduce-cells-overlaping-in-no-borders-painter' into 'master'

Resolve "Reduce cells overlaping in no borders painter"

Closes #22

See merge request !19
parents db600d30 7297ef5f
Branches
Tags Release_0.0.16_16
1 merge request!19Resolve "Reduce cells overlaping in no borders painter"
Pipeline #4958 passed
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
app.versionName=0.0.15
app.versionCode=15
app.versionName=0.0.16
app.versionCode=16
Reduce cells overlapping.
Réduction du chevauchement des cellules.
......@@ -42,8 +42,8 @@ class GameBoardPainter extends CustomPainter {
cellPaintBackground.color = Color(colorCode);
cellPaintBackground.style = PaintingStyle.fill;
final Rect cellBackground = Rect.fromPoints(Offset(x - overlapping, y - overlapping),
Offset(x + cellSize + overlapping, y + cellSize + overlapping));
final Rect cellBackground = Rect.fromPoints(
Offset(x, y), Offset(x + cellSize + overlapping, y + cellSize + overlapping));
canvas.drawRect(cellBackground, cellPaintBackground);
}
......
......@@ -3,7 +3,7 @@ description: Jeweled Game
publish_to: 'none'
version: 0.0.15+15
version: 0.0.16+16
environment:
sdk: '^3.0.0'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment