Skip to content

Commit

Permalink
Added extra reminder about the sliders
Browse files Browse the repository at this point in the history
  • Loading branch information
Traneptora committed Jun 26, 2016
1 parent 7422e25 commit dedbc15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thebombzen/tumblgififier/gui/MainPanel.java
Expand Up @@ -239,7 +239,7 @@ private void fire(){
final double clipEnd = endSlider.getValue() * 0.25D;
double newWidth = scan.getWidth() / Math.sqrt(scan.getWidth() * scan.getHeight() * scan.getFramerate() * (halveFramerate ? 0.5D : 1D) * (clipEnd - clipStart) / (2D * maxSizeBytes));
if (newWidth < 300D){
int dialogResult = JOptionPane.showConfirmDialog(this, "This GIF will probably be less than 300 pixels wide, which means Tumblr won't expand it to fit the window. Is this okay?", "Warning", JOptionPane.OK_CANCEL_OPTION);
int dialogResult = JOptionPane.showConfirmDialog(this, String.format("This GIF will probably be less than 300 pixels wide, which means Tumblr won't expand it to fit the window. Is this okay?%n(If not then you should drag the sliders on the right to decrease the duration.)"), "Warning", JOptionPane.OK_CANCEL_OPTION);
if (dialogResult == JOptionPane.CANCEL_OPTION){
return;
}
Expand Down

0 comments on commit dedbc15

Please sign in to comment.