focus entry on opening sideleft

This commit is contained in:
end-4
2024-03-24 09:09:19 +07:00
parent 29a067a492
commit 3e7fe73543
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -348,7 +348,7 @@ export const booruView = Scrollable({
// Always scroll to bottom with new content
const adjustment = scrolledWindow.get_vadjustment();
adjustment.connect("changed", () => {
if(!chatEntry.hasFocus) return;
if (!chatEntry.hasFocus) return;
adjustment.set_value(adjustment.get_upper() - adjustment.get_page_size());
})
}