mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Introjucer: fix for broken colour scheme when run for the first time.
This commit is contained in:
parent
2d9312ca3e
commit
c2666bfe61
4 changed files with 9 additions and 7 deletions
|
|
@ -122,10 +122,10 @@ void ProjectContentComponent::paint (Graphics& g)
|
|||
|
||||
void ProjectContentComponent::paintOverChildren (Graphics& g)
|
||||
{
|
||||
if (contentView != nullptr)
|
||||
if (resizerBar != nullptr)
|
||||
{
|
||||
const int shadowSize = 15;
|
||||
const int x = contentView->getX();
|
||||
const int x = resizerBar->getRight();
|
||||
|
||||
ColourGradient cg (Colours::black.withAlpha (0.25f), (float) x, 0,
|
||||
Colours::transparentBlack, (float) (x - shadowSize), 0, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue