Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
60fc6ca5fc | ||
|
|
2915d7d5b4 | ||
|
|
4531d7bf43 |
@@ -17,8 +17,8 @@
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://gitea.angeltech.jp/Angel-Technologies/MoeMoji/archive/v0.3.0.tar.gz",
|
||||
"sha256": "276d4a985d47f1e0fc49a19601d83cdae926cd985c5aa4e43ccecda62e3a3e2d"
|
||||
"url": "https://gitea.angeltech.jp/Angel-Technologies/MoeMoji/archive/v0.3.2.tar.gz",
|
||||
"sha256": "6cf219ed740ab84eda794447806d8323f42def32b40b858ba54e6c9910f842e2"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -536,7 +536,13 @@ static void on_chip_clicked(GtkButton *button, gpointer user_data) {
|
||||
CategoryWidgets *cw = g_ptr_array_index(self->category_widgets, i);
|
||||
if (cw->chip == GTK_WIDGET(button)) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user