mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: minor optimizations and cleanup on macOS
This commit is contained in:
parent
8eafe61176
commit
5e32ec839b
3 changed files with 4 additions and 5 deletions
|
|
@ -31,7 +31,6 @@ begin
|
|||
Result:= False;
|
||||
if [watch_file_name_change, watch_attributes_change] * gWatchDirs = [] then exit;
|
||||
if event.isDropabled then exit;
|
||||
/// if (ecChildChanged in event.categories) and (not isWatchSubdir(event.watchPath) ) then exit;
|
||||
|
||||
fileSourceEvent.Path := event.watchPath;
|
||||
fileSourceEvent.FileName := EmptyStr;
|
||||
|
|
|
|||
|
|
@ -121,10 +121,7 @@ begin
|
|||
color.set_;
|
||||
path:= NSBezierPath.bezierPathWithOvalInRect( tagRect );
|
||||
path.fill;
|
||||
if focused then
|
||||
NSColor.alternateSelectedControlTextColor.set_
|
||||
else
|
||||
NSColor.textBackgroundColor.set_;
|
||||
NSColor.alternateSelectedControlTextColor.set_;
|
||||
path.stroke;
|
||||
tagRect.origin.x:= tagRect.origin.x - 5;
|
||||
end;
|
||||
|
|
|
|||
|
|
@ -547,6 +547,9 @@ var
|
|||
destRect: NSRect;
|
||||
fs: TiCloudDriveFileSource;
|
||||
begin
|
||||
if params.iconRect.IsEmpty then
|
||||
Exit;
|
||||
|
||||
fs:= params.fs as TiCloudDriveFileSource;
|
||||
image:= fs.getAppIconByPath( params.displayFile.FSFile.FullPath );
|
||||
if image = nil then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue