Skip to content

Commit

Permalink
Fixes for lower res monitors
Browse files Browse the repository at this point in the history
  • Loading branch information
LPHuynh committed Jul 28, 2017
1 parent 9f89b45 commit ac282c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CIECAMViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ mColorScheme(mColorWheel.vc), mTempPigment(mColorWheel.vc), mPigment(mColorWheel
pigment.a = 0;
pigment.b = 0;

mImageColor.pigmentList.push_back(pigment); //make sure there's atleast 1 pigment in list to avoid out of scope error
if (sf::VideoMode::getDesktopMode().height < 1000)
{
mWindow.setSize(sf::Vector2u(1080, 600));
}
}


Expand Down

0 comments on commit ac282c6

Please sign in to comment.