You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
View.c: remove some uneccesary allocations which confuse composeUI apps
This commit is contained in:
@@ -599,7 +599,7 @@ JNIEXPORT void JNICALL Java_android_view_View_native_1layout(JNIEnv *env, jobjec
|
||||
wrapper->real_width = width;
|
||||
wrapper->real_height = height;
|
||||
if (!wrapper->needs_allocation)
|
||||
atl_safe_gtk_widget_queue_allocate(widget);
|
||||
gtk_widget_queue_allocate(widget);
|
||||
}
|
||||
if (wrapper->needs_allocation) {
|
||||
allocation.width = width;
|
||||
|
||||
Reference in New Issue
Block a user