implementing color wheel and new color picker
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
|
||||
bool LayoutManager::load(const char* path)
|
||||
{
|
||||
|
||||
#if _WIN32
|
||||
auto abs_path = Asset::absolute(path);
|
||||
#if _WIN32 || __OSX__
|
||||
struct stat tmp_info;
|
||||
if (stat(path, &tmp_info) != 0)
|
||||
if (stat(abs_path.c_str(), &tmp_info) != 0)
|
||||
return false;
|
||||
if (tmp_info.st_mtime <= m_file_info.st_mtime)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user