Skip to content

Commit

Permalink
fixed rendering issue with magic_beans scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
tfinney9 committed Jun 28, 2018
1 parent 5dea55b commit 953071f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/gui/googleOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ googleOutput::googleOutput(QWidget *parent) : QWidget(parent)

colorLayout=new QGridLayout;
colorLayout->addWidget(inputColorblindComboBox,0,0);
// colorLayout->addWidget(applyVectorScaling,1,0);
colorblindBox->setLayout(colorLayout);
//end color options

Expand All @@ -152,7 +151,6 @@ googleOutput::googleOutput(QWidget *parent) : QWidget(parent)
pageLayout->addLayout(optionLayout);
pageLayout->addWidget(googleResGroupBox);
pageLayout->addWidget(colorblindBox);
// pageLayout->addWidget(applyVectorScaling);
pageLayout->addStretch();

googleGroupBox->setLayout(pageLayout);
Expand Down
4 changes: 3 additions & 1 deletion src/ninja/KmlVector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ bool KmlVector::makeDefaultStyles(string cScheme, bool vec_scaling)
colors[3] = new Style("orange", 255, 130, 165, 244, orangeWidth);
colors[2] = new Style("yellow", 255, 247, 247, 247, yellowWidth);
colors[1] = new Style("green", 255, 222, 197,146, greenWidth);
colors[0] = new Style("blue", 255, 176, 113, 5, blueWidth);
// colors[0] = new Style("blue", 255, 176, 113, 5, blueWidth); //For some reason
//Google earth will not render with a Red = 5, works fine with 0 or 30 though...
colors[0] = new Style("blue", 255, 176, 113, 30, blueWidth);
}
if (cScheme=="pink_to_green")
{
Expand Down

0 comments on commit 953071f

Please sign in to comment.