mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Improved handling of missing source file
This commit is contained in:
parent
957f24e159
commit
7894fc73cc
5 changed files with 23 additions and 1 deletions
|
@ -53,6 +53,13 @@ namespace IDE.ui
|
|||
color = 0xFFE0E0FF;
|
||||
else if (projectItem.mIncludeKind == .Ignore)
|
||||
color = 0xFF909090;
|
||||
|
||||
if (let projectSource = projectItem as ProjectSource)
|
||||
{
|
||||
if (projectSource.mLoadFailed)
|
||||
color = 0xFFFF0000;
|
||||
}
|
||||
|
||||
mTextColor = color;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue