From e60858ba659e2dba513f9379d435e745df14db8b Mon Sep 17 00:00:00 2001 From: Tom Kazimiers Date: Thu, 27 Apr 2023 16:25:47 +0200 Subject: [PATCH] 3D viewer: improve light source position config docs Fixes catmaid/catmaid#2250 --- django/applications/catmaid/static/js/WindowMaker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/applications/catmaid/static/js/WindowMaker.js b/django/applications/catmaid/static/js/WindowMaker.js index 58c95a04a9..30e09e0b92 100644 --- a/django/applications/catmaid/static/js/WindowMaker.js +++ b/django/applications/catmaid/static/js/WindowMaker.js @@ -792,9 +792,9 @@ var WindowMaker = new function() { type: 'text', label: 'Light pos.', - title: 'Position of the hemisphere light source. If empty, the light will be positioned centered "below" the image data (default).', + title: 'Position of the hemisphere light source as an "X, Y, Z" coordinate. The coordinate system is right-handed (X to right, Y down, Z in to match 2D view). If empty, the light will be positioned centered "below" the image data (default).', value: o.light_dir && o.light_dir.length > 0 ? o.light_dir.join(', ') : '', - placeholder: '(Default)', + placeholder: 'X, Y, Z', length: 6, onchange: (e) => { if (e.target.value.trim().length === 0) {