Disable manual arrangement in Explore

This commit is contained in:
Nariman Jelveh 2024-04-14 12:50:28 -07:00
parent aa61e005e5
commit 765eb43568
2 changed files with 7 additions and 2 deletions

View File

@ -187,8 +187,12 @@ function UIItem(options){
update_explorer_footer_item_count(el_window);
}
// position
if(!is_auto_arrange_enabled && options.position && $(el_item).closest('.item-container').attr('data-path') === window.desktop_path){
// manual positioning
if( !is_auto_arrange_enabled &&
options.position &&
// item is on the desktop (must be desktop itself and not a window, hence the '.desktop' class check)
$(el_item).closest('.item-container.desktop').attr('data-path') === window.desktop_path
){
el_item.style.position = 'absolute';
el_item.style.left = options.position.left + 'px';
el_item.style.top = options.position.top + 'px';

View File

@ -1037,6 +1037,7 @@ span.header-sort-icon img {
width: initial;
padding-left: 10px;
border: 3px solid rgba(255, 255, 255, 0);
position: relative;
}
.item-container-transparent-border {