From e3cd6c26303e86c7672d148eecdd36fb67ed6c4c Mon Sep 17 00:00:00 2001 From: Nils Mechtel Date: Fri, 23 Aug 2024 23:47:58 +0200 Subject: [PATCH] update messages --- plugins/bioimageio-colab-annotator.imjoy.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/bioimageio-colab-annotator.imjoy.html b/plugins/bioimageio-colab-annotator.imjoy.html index 02ff739..309325d 100644 --- a/plugins/bioimageio-colab-annotator.imjoy.html +++ b/plugins/bioimageio-colab-annotator.imjoy.html @@ -46,7 +46,7 @@ // Create and display the viewer window const viewer = await api.createWindow({src: "https://kaibu.org/#/app", fullscreen: true}); - await api.showMessage(`Connecting to server ${serverUrl}....`); + await api.showMessage(`Connecting to server ${serverUrl}...`); // Login before connecting and then use userid // TODO: Add login functionality @@ -158,9 +158,9 @@ const annotation = await this.annotationLayer.get_features(); if (annotation.features.length > 0) { await dataProvider.save_annotation(this.filename, annotation, [this.image._rshape[0], this.image._rshape[1]]); - await api.showMessage("Annotation saved"); + await api.showMessage("Annotation saved."); } else { - await api.showMessage("Skip saving annotation"); + await api.showMessage("Skip saving annotation."); } };