forked from Shinonome/dots-hyprland
overview: fix focus func conflict with default prop name
This commit is contained in:
@@ -18,7 +18,7 @@ RowLayout {
|
|||||||
property alias searchInput: searchInput
|
property alias searchInput: searchInput
|
||||||
property string searchingText
|
property string searchingText
|
||||||
|
|
||||||
function focus() {
|
function forceFocus() {
|
||||||
searchInput.forceActiveFocus();
|
searchInput.forceActiveFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ Item { // Wrapper
|
|||||||
}
|
}
|
||||||
|
|
||||||
function focusSearchInput() {
|
function focusSearchInput() {
|
||||||
searchBar.focus();
|
searchBar.forceFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
function disableExpandAnimation() {
|
function disableExpandAnimation() {
|
||||||
|
|||||||
Reference in New Issue
Block a user