Compare commits

...
2 Commits
Author SHA1 Message Date
ssri_sunshine_sequence 60fc6ca5fc bump manifest tag 2026-03-08 00:33:43 +03:00
ssri_sunshine_sequence 2915d7d5b4 fix sidebar jitter for real this time 2026-03-08 00:32:56 +03:00
2 changed files with 9 additions and 3 deletions
+2 -2
View File
@@ -17,8 +17,8 @@
"sources": [ "sources": [
{ {
"type": "archive", "type": "archive",
"url": "https://gitea.angeltech.jp/Angel-Technologies/MoeMoji/archive/v0.3.1.tar.gz", "url": "https://gitea.angeltech.jp/Angel-Technologies/MoeMoji/archive/v0.3.2.tar.gz",
"sha256": "500bed5eafea7a2cc40b4833dc733434fcc9335010b90627e5e41ce45275edf7" "sha256": "6cf219ed740ab84eda794447806d8323f42def32b40b858ba54e6c9910f842e2"
} }
] ]
} }
+7 -1
View File
@@ -536,7 +536,13 @@ static void on_chip_clicked(GtkButton *button, gpointer user_data) {
CategoryWidgets *cw = g_ptr_array_index(self->category_widgets, i); CategoryWidgets *cw = g_ptr_array_index(self->category_widgets, i);
if (cw->chip == GTK_WIDGET(button)) { if (cw->chip == GTK_WIDGET(button)) {
set_active_chip(self, (int)i); set_active_chip(self, (int)i);
scroll_to_category(self, (int)i); graphene_point_t p;
if (gtk_widget_compute_point(cw->header, GTK_WIDGET(self->content_box),
&GRAPHENE_POINT_INIT(0, 0), &p)) {
GtkAdjustment *vadj = gtk_scrolled_window_get_vadjustment(
GTK_SCROLLED_WINDOW(self->kaomoji_scroll));
gtk_adjustment_set_value(vadj, p.y);
}
return; return;
} }
} }