ZIm/crates/gpui/src
Nate Butler d02bfe1e95
Add a case for shadows when blur_radius = 0 (#22441)
Closes #22433

Before/After (macOS):

![CleanShot 2024-12-26 at 22 41
11@2x](https://github.com/user-attachments/assets/1701da2e-3db7-4dd1-a680-0f63824cbdf5)

For some reason the non-blurred one seems much lower quality, so we may
need to tinker with the samples, or something else.

![CleanShot 2024-12-26 at 22 42
12@2x](https://github.com/user-attachments/assets/5a43330d-137b-4d45-a67a-fd10ef6a8ff8)

I'm unsure if this is a problem on Linux/in the Blade renderer, but
since no changes were made outside of the medal shaders we can probably
take this macOS-specific win for now.

Release Notes:

- gpui: Fixed an issue where shadows with a `blur_radius` of 0 would not
render.
2025-01-06 17:27:20 +00:00
..
app Improve panic report with reentrant SlotMap use (#22667) 2025-01-04 20:37:40 +00:00
elements Remove stuck tooltips (#22548) 2025-01-01 18:47:10 +00:00
keymap Add initial FreeBSD support (#20480) 2024-11-11 18:39:05 +01:00
platform Add a case for shadows when blur_radius = 0 (#22441) 2025-01-06 17:27:20 +00:00
text_system gpui/perf: Use SharedString on API boundary of line layout (#22566) 2025-01-02 11:06:01 +00:00
window chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
action.rs gpui: Do not derive serde::Deserialize for automatically generated Actions (#22687) 2025-01-05 17:25:00 +00:00
app.rs Remove stuck tooltips (#22548) 2025-01-01 18:47:10 +00:00
arena.rs Log if element arena allocation is >80% 2024-01-24 11:03:28 +01:00
asset_cache.rs Add Loading and Fallback States to Image Elements (via StyledImage) (#20371) 2024-11-15 19:12:01 -08:00
assets.rs repl: Set up a way to copy output from the REPL (#16649) 2024-08-22 15:03:42 -07:00
bounds_tree.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
color.rs gpui: Add linear gradient support to fill background (#20812) 2024-12-11 21:52:52 +02:00
element.rs Store focus handles in AppContext instead of Window (#22158) 2024-12-17 14:41:00 -07:00
executor.rs Remove Task::get_ready method I added, which is unusable in practice (#22012) 2024-12-14 03:21:41 -07:00
geometry.rs Fix docs for Bounds::from_corner_and_size (#22265) 2024-12-19 21:50:52 +00:00
global.rs Add support for git branches on remote projects (#19755) 2024-10-27 15:50:54 -07:00
gpui.rs Cleanups preparing for WindowContext refactor (#22475) 2024-12-28 21:36:14 +00:00
input.rs Clip UTF-16 offsets in text for range (#20968) 2024-11-20 22:04:26 -07:00
interactive.rs Dequalify WindowContext and ViewContext references (#22477) 2024-12-28 23:09:55 +00:00
key_dispatch.rs Revert "Use correct context path for focused element in WindowContext::bindings_for_action (#18843)" (#20367) 2024-11-07 09:45:23 -07:00
keymap.rs Revert "Use correct context path for focused element in WindowContext::bindings_for_action (#18843)" (#20367) 2024-11-07 09:45:23 -07:00
platform.rs linux: Fix non-maximized Zed windows growing larger across sessions (#22301) 2024-12-20 22:23:25 +00:00
prelude.rs gpui: Don't export named Context from prelude (#21869) 2024-12-11 13:21:40 -05:00
scene.rs gpui: Add linear gradient support to fill background (#20812) 2024-12-11 21:52:52 +02:00
shared_string.rs gpui/perf: Use SharedString on API boundary of line layout (#22566) 2025-01-02 11:06:01 +00:00
shared_uri.rs Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
style.rs Add Corner to geometry and make names of corner methods consistent (#22119) 2024-12-16 22:57:15 -07:00
styled.rs gpui: Clean up Styled doc comments (#20731) 2024-11-15 11:27:49 -05:00
subscription.rs Refine inline transformation UX (#12939) 2024-06-13 08:35:22 +02:00
svg_renderer.rs Add Loading and Fallback States to Image Elements (via StyledImage) (#20371) 2024-11-15 19:12:01 -08:00
taffy.rs Revert "chore: Bump taffy to 0.5.2 (#18729)" (#19189) 2024-10-14 15:19:10 +02:00
test.rs Throttle the sending of UpdateFollowers messages (#8918) 2024-03-06 14:58:41 +01:00
text_system.rs gpui/perf: Use SharedString on API boundary of line layout (#22566) 2025-01-02 11:06:01 +00:00
util.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
view.rs Cleanups preparing for WindowContext refactor (#22475) 2024-12-28 21:36:14 +00:00
window.rs Move git status out of Entry (#22224) 2025-01-04 01:00:16 +00:00