floss.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
For people who care about, support, and build Free, Libre, and Open Source Software (FLOSS).

Administered by:

Server stats:

685
active users

Sergey Bugaev

PSA: If you're writing a GTK widget that uses floating-point math to convert between its own size and its child size — perhaps multiplying/dividing by a scale, like GtkRevealer does, or lerp + ease, like AdwClamp does,

you MUST use ceil() when converting from the child's size to the container size, and floor() when converting the other way. This is the only working combination.

I have discovered a truly marvelous proof of this, which this toot is too short to contain.

GtkRevealer is already fixed in main, AdwClamp MR pending