mirror of
				https://gitgud.io/wackyideas/aerothemeplasma.git
				synced 2024-08-15 00:43:43 +00:00 
			
		
		
		
	Fixed SevenStart floating icon placement issue
This commit is contained in:
		
							parent
							
								
									ffff4bdb7b
								
							
						
					
					
						commit
						2647c7e2bf
					
				
					 2 changed files with 2 additions and 6 deletions
				
			
		| 
						 | 
					@ -92,7 +92,6 @@ Item {
 | 
				
			||||||
        dashWindow.visible = !dashWindow.visible;
 | 
					        dashWindow.visible = !dashWindow.visible;
 | 
				
			||||||
        dashWindow.showingAllPrograms = false;
 | 
					        dashWindow.showingAllPrograms = false;
 | 
				
			||||||
        Plasmoid.setActiveWin(dashWindow);
 | 
					        Plasmoid.setActiveWin(dashWindow);
 | 
				
			||||||
        console.log(floatingOrbPanel.buttonIcon.implicitHeight);
 | 
					 | 
				
			||||||
        dashWindow.m_searchField.focus = true;
 | 
					        dashWindow.m_searchField.focus = true;
 | 
				
			||||||
        orb.raise();
 | 
					        orb.raise();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					@ -124,10 +123,6 @@ Item {
 | 
				
			||||||
            root.Layout.minimumHeight = orb.height;
 | 
					            root.Layout.minimumHeight = orb.height;
 | 
				
			||||||
            root.Layout.maximumHeight = orb.height;
 | 
					            root.Layout.maximumHeight = orb.height;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					 | 
				
			||||||
    // This has to be done, or else the orb won't be positioned correctly. ??????????
 | 
					 | 
				
			||||||
        /*orb.y += 5;
 | 
					 | 
				
			||||||
        orb.y -= 5; // ??????????????????????????????????????*/
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    //kicker.status: PlasmaCore.Types.PassiveStatus
 | 
					    //kicker.status: PlasmaCore.Types.PassiveStatus
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -102,7 +102,7 @@ PlasmaCore.Dialog {
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
            requestActivate();
 | 
					            requestActivate();
 | 
				
			||||||
			searchField.forceActiveFocus();
 | 
								searchField.forceActiveFocus();
 | 
				
			||||||
			if(!firstTimePopup) setFloatingAvatarPosition();
 | 
								setFloatingAvatarPosition();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
		resetRecents(); // Resets the recents model to prevent errors and crashes.
 | 
							resetRecents(); // Resets the recents model to prevent errors and crashes.
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					@ -117,6 +117,7 @@ PlasmaCore.Dialog {
 | 
				
			||||||
        var pos = popupPosition(width, height);
 | 
					        var pos = popupPosition(width, height);
 | 
				
			||||||
        x = pos.x;
 | 
					        x = pos.x;
 | 
				
			||||||
        y = pos.y;
 | 
					        y = pos.y;
 | 
				
			||||||
 | 
							setFloatingAvatarPosition();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    onSearchingChanged: {
 | 
					    onSearchingChanged: {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue