ZIm/crates/gpui2/src
Antonio Scandurra c34a81152f
Fix panic when deploying emoji picker (character palette) (#3790)
The panic was caused by Cocoa synchronously invoking the
`selected_text_range` method on the registered input handler while we
already had a borrow of the app.

This pull request fixes this issue by showing the character palette on
the next tick of the loop (we've had this problem in other spots too and
used the same technique).

Release Notes:

- N/A
2023-12-22 18:52:35 +01:00
..
app Fix tests 2023-12-19 11:04:32 +01:00
elements Allow horizontal scrolling of tab bar on vertical mouse wheel 2023-12-22 15:56:37 +01:00
keymap Clear pending keystrokes when an action is dispatched 2023-12-20 20:41:36 -07:00
platform Fix panic when deploying emoji picker (character palette) (#3790) 2023-12-22 18:52:35 +01:00
text_system Add fluent quad API 2023-12-13 13:21:48 -08:00
action.rs Fix some action registrations 2023-12-11 09:29:10 -07:00
app.rs Merge branch 'main' into focus-handlers-on-draw 2023-12-14 23:08:23 -05:00
arena.rs Provide mut access to allocated arena struct via non-cloneable ArenaBox 2023-12-21 09:41:48 +01:00
assets.rs Add back Send and Sync to AssetSource 2023-11-02 09:58:53 +01:00
color.rs Merge branch 'main' into project-panel2 2023-11-14 09:33:48 -08:00
element.rs Use existing AnyElement::draw 2023-12-21 15:32:05 +01:00
executor.rs Begin porting the PaneAxis element 2023-12-07 17:16:19 -08:00
geometry.rs Revert "Revert "Optimize order rendering and border drawing"" 2023-12-22 09:12:18 +01:00
gpui2.rs Use a closure to allocate structs onto the Arena 2023-12-18 10:56:37 +01:00
image_cache.rs Fix image errors 2023-11-17 13:47:07 -07:00
input.rs WIP 2023-11-20 14:46:01 -08:00
interactive.rs Fire focus handlers on draw to avoid timing with newly created item 2023-12-13 12:16:39 -05:00
key_dispatch.rs Remove stray dbg 2023-12-21 09:44:54 +01:00
platform.rs add cmd-click-to-jump-to-element 2023-12-13 18:19:25 -08:00
prelude.rs Reorganize element-related traits 2023-11-22 11:19:43 -07:00
scene.rs Honor PrimitiveKind ordering when order is the same 2023-12-22 09:24:01 +01:00
shared_string.rs Get more of chat panel compiling, but lots of todos 2023-12-08 12:31:07 -08:00
style.rs Avoid painting a background quad if it is fully transparent 2023-12-22 09:29:56 +01:00
styled.rs Merge remote-tracking branch 'origin/main' into perf-2 2023-12-14 14:16:59 -07:00
subscription.rs Defer activating Subscriptions that are invoked as a part of an effect. 2023-12-04 16:17:33 +01:00
svg_renderer.rs Fix the formatting 2023-10-26 13:52:04 +02:00
taffy.rs Use FxHashMap and FxHashSet in hot code paths 2023-12-12 13:35:22 +01:00
test.rs Uncomment flaky tests 2023-12-01 19:21:30 +01:00
text_system.rs Use FxHashMap and FxHashSet in hot code paths 2023-12-12 13:35:22 +01:00
util.rs Add test tag 2023-11-13 16:51:59 -08:00
view.rs Remove extra nits, do not panic on clicking the buffer separator 2023-12-15 11:28:48 +02:00
window.rs Revert "Revert "Optimize order rendering and border drawing"" 2023-12-22 09:12:18 +01:00