mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 19:29:52 +02:00
fix colors slightly from last commit
This commit is contained in:
@@ -834,8 +834,8 @@ void GameView::NotifySaveChanged(GameModel * sender)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
upVoteButton->Appearance.BorderDisabled = ui::Colour(10, 10, 10);
|
upVoteButton->Appearance.BorderDisabled = ui::Colour(100, 100, 100);
|
||||||
downVoteButton->Appearance.BorderDisabled = ui::Colour(10, 10, 10);
|
downVoteButton->Appearance.BorderDisabled = ui::Colour(100, 100, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
tagSimulationButton->Enabled = (sender->GetSave()->GetID() && sender->GetUser().ID);
|
tagSimulationButton->Enabled = (sender->GetSave()->GetID() && sender->GetUser().ID);
|
||||||
@@ -874,8 +874,10 @@ void GameView::NotifySaveChanged(GameModel * sender)
|
|||||||
reloadButton->Enabled = true;
|
reloadButton->Enabled = true;
|
||||||
upVoteButton->Enabled = false;
|
upVoteButton->Enabled = false;
|
||||||
upVoteButton->Appearance.BackgroundDisabled = (ui::Colour(0, 0, 0));
|
upVoteButton->Appearance.BackgroundDisabled = (ui::Colour(0, 0, 0));
|
||||||
|
upVoteButton->Appearance.BorderDisabled = ui::Colour(100, 100, 100);
|
||||||
downVoteButton->Enabled = false;
|
downVoteButton->Enabled = false;
|
||||||
upVoteButton->Appearance.BackgroundDisabled = (ui::Colour(0, 0, 0));
|
upVoteButton->Appearance.BackgroundDisabled = (ui::Colour(0, 0, 0));
|
||||||
|
downVoteButton->Appearance.BorderDisabled = ui::Colour(100, 100, 100);
|
||||||
tagSimulationButton->Enabled = false;
|
tagSimulationButton->Enabled = false;
|
||||||
tagSimulationButton->SetText("[no tags set]");
|
tagSimulationButton->SetText("[no tags set]");
|
||||||
currentSaveType = 2;
|
currentSaveType = 2;
|
||||||
@@ -887,8 +889,10 @@ void GameView::NotifySaveChanged(GameModel * sender)
|
|||||||
reloadButton->Enabled = false;
|
reloadButton->Enabled = false;
|
||||||
upVoteButton->Enabled = false;
|
upVoteButton->Enabled = false;
|
||||||
upVoteButton->Appearance.BackgroundDisabled = (ui::Colour(0, 0, 0));
|
upVoteButton->Appearance.BackgroundDisabled = (ui::Colour(0, 0, 0));
|
||||||
|
upVoteButton->Appearance.BorderDisabled = ui::Colour(100, 100, 100),
|
||||||
downVoteButton->Enabled = false;
|
downVoteButton->Enabled = false;
|
||||||
upVoteButton->Appearance.BackgroundDisabled = (ui::Colour(0, 0, 0));
|
upVoteButton->Appearance.BackgroundDisabled = (ui::Colour(0, 0, 0));
|
||||||
|
downVoteButton->Appearance.BorderDisabled = ui::Colour(100, 100, 100),
|
||||||
tagSimulationButton->Enabled = false;
|
tagSimulationButton->Enabled = false;
|
||||||
tagSimulationButton->SetText("[no tags set]");
|
tagSimulationButton->SetText("[no tags set]");
|
||||||
currentSaveType = 0;
|
currentSaveType = 0;
|
||||||
|
Reference in New Issue
Block a user