zed/crates/gpui/examples
Son f24f601e05
Adjust erf estimation function (#15423)
Release Notes:

- Fixed a (potential) small error in erf estimation. Technically, the
error is negligible.

I am not sure where the current calculation for erf come from and if it
is intended or a simple mistake. However it looks slightly different
from the official calculation, notably
[this](https://en.wikipedia.org/wiki/Error_function#Approximation_with_elementary_functions)
from Wikipedia.

I will add a comment if it is intended.
2024-08-07 14:12:26 +02:00
..
image gpui: Improve img element to support load from Assets (#15482) 2024-07-30 10:55:48 -04:00
animation.rs gpui example: Fix SVG not showing up when running from root (#13648) 2024-06-28 15:58:19 +02:00
gif_viewer.rs gpui: Add support for animated images (#13809) 2024-07-27 14:05:37 +02:00
hello_world.rs Linux window decorations (#13611) 2024-07-03 11:28:09 -07:00
input.rs Add mouse handling to gpui input example (#14350) 2024-07-15 12:10:25 -06:00
ownership_post.rs More adjustments for blog post 2024-01-18 07:01:46 -07:00
set_menus.rs gpui: Update Menu name to use SharedString type to support more types (#14791) 2024-07-19 08:51:31 -04:00
shadow.rs Adjust erf estimation function (#15423) 2024-08-07 14:12:26 +02:00
window_positioning.rs gpui: Fix cx.bounds, cx.open_window position on macOS (#14044) 2024-07-10 09:52:33 -06:00
window_shadow.rs Linux window decorations (#13611) 2024-07-03 11:28:09 -07:00