diff --git a/Directory.Build.props b/Directory.Build.props
index d7c1a99..3a08133 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -5,7 +5,7 @@
scripts/build-installer.ps1 both read it from here, so releasing is a reviewed change
to this line rather than an edit in a pipeline variable group.
-->
- 1.1.1
+ 1.1.2
latest
enable
enable
diff --git a/TODO.md b/TODO.md
index 598ab01..6dc7195 100644
--- a/TODO.md
+++ b/TODO.md
@@ -16,7 +16,7 @@ The delivery chain works end to end: a merge to `main` builds, signs, and publis
pre-release to GitHub Releases, and one approval promotes that same build to a release.
reads its download links from the release manifest
deployed beside it and needs no edit per release. The current product version is `VersionPrefix` in `Directory.Build.props`
-(1.1.1). Identity version for the Store package is `VersionPrefix.0` (`1.1.1.0`).
+(1.1.2). Identity version for the Store package is `VersionPrefix.0` (`1.1.2.0`).
Declaring that number is decision 20 in [docs/decisions.md](docs/decisions.md). What 1.0
was waiting on shipped during 0.9.x: Preferences, `.wimport`, Explorer and VS Code
diff --git a/src/SQLBI.Whiteboard/BoardSurface.cs b/src/SQLBI.Whiteboard/BoardSurface.cs
index 0cbe520..912d39b 100644
--- a/src/SQLBI.Whiteboard/BoardSurface.cs
+++ b/src/SQLBI.Whiteboard/BoardSurface.cs
@@ -61,11 +61,6 @@ protected override void OnRender(DrawingContext drawingContext)
return;
}
- if (PendingStroke is { Count: > 1 } pending)
- {
- DrawStroke(drawingContext, pending, PendingStrokeStyle, _camera);
- }
-
foreach (var item in _document.Query(_camera.VisibleWorldBounds))
{
if (item.Id == HiddenObjectId)
@@ -95,6 +90,14 @@ protected override void OnRender(DrawingContext drawingContext)
}
}
+ // Over the containers, not under them: the stroke is committed with the
+ // topmost z-index, so drawing it first made the wet ink disappear behind
+ // whatever it crossed and reappear only once the pen lifted.
+ if (PendingStroke is { Count: > 1 } pending)
+ {
+ DrawStroke(drawingContext, pending, PendingStrokeStyle, _camera);
+ }
+
if (HoveredObjectId is Guid hoveredId &&
hoveredId != SelectedObjectId &&
_document.Objects.FirstOrDefault(item => item.Id == hoveredId) is { } hovered)