mirror of
https://github.com/euphy/polargraphcontroller
synced 2024-11-14 10:17:57 +01:00
Can change picture frame without having an image loaded. v1.4.2.
This commit is contained in:
parent
a8e5e50743
commit
e3a6cea6cd
@ -51,7 +51,7 @@ import java.awt.event.*;
|
||||
|
||||
int majorVersionNo = 1;
|
||||
int minorVersionNo = 4;
|
||||
int buildNo = 0;
|
||||
int buildNo = 2;
|
||||
|
||||
String programTitle = "Polargraph Controller v" + majorVersionNo + "." + minorVersionNo + " build " + buildNo;
|
||||
ControlP5 cp5;
|
||||
@ -1183,11 +1183,11 @@ void saveNewPropertiesFileWithFileChooser()
|
||||
|
||||
void setPictureFrameDimensionsToBox()
|
||||
{
|
||||
if (getDisplayMachine().pixelsCanBeExtracted() && isBoxSpecified())
|
||||
{
|
||||
// if (getDisplayMachine().pixelsCanBeExtracted() && isBoxSpecified())
|
||||
// {
|
||||
Rectangle r = new Rectangle(getDisplayMachine().inSteps(getBoxVector1()), getDisplayMachine().inSteps(getBoxVectorSize()));
|
||||
getDisplayMachine().setPictureFrame(r);
|
||||
}
|
||||
// }
|
||||
}
|
||||
void setBoxToPictureframeDimensions()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user