Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2915d7d5b4 | ||
|
|
4531d7bf43 |
@@ -17,8 +17,8 @@
|
|||||||
"sources": [
|
"sources": [
|
||||||
{
|
{
|
||||||
"type": "archive",
|
"type": "archive",
|
||||||
"url": "https://gitea.angeltech.jp/Angel-Technologies/MoeMoji/archive/v0.3.0.tar.gz",
|
"url": "https://gitea.angeltech.jp/Angel-Technologies/MoeMoji/archive/v0.3.1.tar.gz",
|
||||||
"sha256": "276d4a985d47f1e0fc49a19601d83cdae926cd985c5aa4e43ccecda62e3a3e2d"
|
"sha256": "500bed5eafea7a2cc40b4833dc733434fcc9335010b90627e5e41ce45275edf7"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user