View Single Post
  #10  
Old 30-03-2021, 01:23 PM
multiweb's Avatar
multiweb (Marc)
ze frogginator

multiweb is offline
 
Join Date: Oct 2007
Location: Sydney
Posts: 22,080
Quote:
Originally Posted by kosborn View Post
Looks like I forgot to commit my latest edits last night but regardless, Line 43 in the github source reads:

var msg = new MessageBox("Source image view must be selected", StdIcon_Error, StdButton_Ok);

Did you accidentally add an extra 'MessageBox'?
no.

Quote:
if (this.sourceView.isNull) {
var msg = new MessageBox("Source image view must be selected", StdIcon_Error, StdButton_Ok);
console.hide();
msg.execute();
throw new Error("Source image must be selected.");
}
Quote:
Originally Posted by kosborn View Post
Line 192 should work as is as NumericControl is part of the PixInsight Javascript engine. What platform/version of Pixinsight are you using?
Here's what I've got

Quote:
...

this.controlSizer = new VerticalSizer;
this.controlSizer.margin = 6;
this.controlSizer.spacing = 4;

this.startColour = new NumericControl(this);
this.startColour.label.text = "Start Colour:";
this.startColour.label.minWidth = sliderMinWidth;

...
PI Standard Edition
Core version 1.8.8-7 Ripley (x64) (2020-12-17)
On Windows 7 ultimate 64bit
Reply With Quote