Skip to content

Commit

Permalink
3D viewer: improve light source position config docs
Browse files Browse the repository at this point in the history
Fixes #2250
  • Loading branch information
tomka committed Apr 27, 2023
1 parent 2c10fa2 commit e60858b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/applications/catmaid/static/js/WindowMaker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e60858b

Please sign in to comment.