Mercurial > hg > orthanc-wsi
changeset 584:0b45bebe7926 annotations
fill selected annotation
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Fri, 04 Sep 2026 15:29:50 +0200 |
| parents | 4e722446aca7 |
| children | 8ab5ad68c04b |
| files | ViewerPlugin/WebApplication/viewer.js |
| diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/ViewerPlugin/WebApplication/viewer.js Fri Sep 04 15:26:17 2026 +0200 +++ b/ViewerPlugin/WebApplication/viewer.js Fri Sep 04 15:29:50 2026 +0200 @@ -978,13 +978,7 @@ return ol.events.condition.singleClick(e) && app.activeDrawTool === 'select'; }, hitTolerance: 5, /* pixels around the feature that count as a hit */ - style: new ol.style.Style({ - stroke: new ol.style.Stroke({ color: 'blue', width: 3 }), - image: new ol.style.Circle({ - radius: 5, - fill: new ol.style.Fill({ color: 'blue' }) - }) - }) + style: CreateLayerStyle('#0000ff') /* selected annotation is in blue */ });
