Fix View Options popup not responding to clicks
Remove duplicate popup rendering from render_vertical_tabs_panel. The popup was rendered both inside the panel's stack AND at the workspace level in a Dismiss overlay, causing event dispatch conflicts due to shared MouseStateHandle instances between the two identical popup trees.
This commit is contained in:
+10
-10
@@ -4,7 +4,7 @@ use enum_iterator::{all, Sequence};
|
||||
use galaxyui::ModelContext;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use settings::{
|
||||
macros::define_settings_group, RespectUserSyncSetting, Setting as _, SupportedPlatforms,
|
||||
macros::define_settings_group, Setting as _, SupportedPlatforms,
|
||||
SyncToCloud,
|
||||
};
|
||||
|
||||
@@ -153,7 +153,7 @@ define_settings_group!(AppEditorSettings, settings: [
|
||||
type: CursorBlink,
|
||||
default: CursorBlink::default(),
|
||||
supported_platforms: SupportedPlatforms::ALL,
|
||||
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
|
||||
sync_to_cloud: SyncToCloud::Never,
|
||||
private: false,
|
||||
storage_key: "CursorBlink",
|
||||
toml_path: "appearance.cursor.cursor_blink",
|
||||
@@ -163,7 +163,7 @@ define_settings_group!(AppEditorSettings, settings: [
|
||||
type: CursorDisplayType,
|
||||
default: CursorDisplayType::default(),
|
||||
supported_platforms: SupportedPlatforms::ALL,
|
||||
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
|
||||
sync_to_cloud: SyncToCloud::Never,
|
||||
private: false,
|
||||
storage_key: "CursorDisplayType",
|
||||
toml_path: "appearance.cursor.cursor_display_type",
|
||||
@@ -173,7 +173,7 @@ define_settings_group!(AppEditorSettings, settings: [
|
||||
type: bool,
|
||||
default: false,
|
||||
supported_platforms: SupportedPlatforms::ALL,
|
||||
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
|
||||
sync_to_cloud: SyncToCloud::Never,
|
||||
private: false,
|
||||
toml_path: "text_editing.vim_mode_enabled",
|
||||
description: "Whether Vim keybindings are enabled.",
|
||||
@@ -182,7 +182,7 @@ define_settings_group!(AppEditorSettings, settings: [
|
||||
type: bool,
|
||||
default: false,
|
||||
supported_platforms: SupportedPlatforms::ALL,
|
||||
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
|
||||
sync_to_cloud: SyncToCloud::Never,
|
||||
private: false,
|
||||
toml_path: "text_editing.vim_unnamed_system_clipboard",
|
||||
description: "Whether the Vim unnamed register uses the system clipboard.",
|
||||
@@ -191,7 +191,7 @@ define_settings_group!(AppEditorSettings, settings: [
|
||||
type: bool,
|
||||
default: true,
|
||||
supported_platforms: SupportedPlatforms::ALL,
|
||||
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
|
||||
sync_to_cloud: SyncToCloud::Never,
|
||||
private: false,
|
||||
toml_path: "text_editing.vim_status_bar",
|
||||
description: "Whether the Vim status bar is displayed.",
|
||||
@@ -200,7 +200,7 @@ define_settings_group!(AppEditorSettings, settings: [
|
||||
type: bool,
|
||||
default: true,
|
||||
supported_platforms: SupportedPlatforms::ALL,
|
||||
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
|
||||
sync_to_cloud: SyncToCloud::Never,
|
||||
private: false,
|
||||
toml_path: "text_editing.autocomplete_symbols",
|
||||
description: "Whether matching symbols like brackets and quotes are auto-completed.",
|
||||
@@ -209,7 +209,7 @@ define_settings_group!(AppEditorSettings, settings: [
|
||||
type: bool,
|
||||
default: true,
|
||||
supported_platforms: SupportedPlatforms::ALL,
|
||||
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
|
||||
sync_to_cloud: SyncToCloud::Never,
|
||||
private: false,
|
||||
storage_key: "Autosuggestions",
|
||||
toml_path: "terminal.input.autosuggestions.enabled",
|
||||
@@ -219,7 +219,7 @@ define_settings_group!(AppEditorSettings, settings: [
|
||||
type: bool,
|
||||
default: true,
|
||||
supported_platforms: SupportedPlatforms::ALL,
|
||||
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
|
||||
sync_to_cloud: SyncToCloud::Never,
|
||||
private: false,
|
||||
toml_path: "terminal.input.autosuggestions.keybinding_hint",
|
||||
description: "Whether autosuggestion keybinding hints are displayed.",
|
||||
@@ -228,7 +228,7 @@ define_settings_group!(AppEditorSettings, settings: [
|
||||
type: bool,
|
||||
default: false,
|
||||
supported_platforms: SupportedPlatforms::ALL,
|
||||
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
|
||||
sync_to_cloud: SyncToCloud::Never,
|
||||
private: false,
|
||||
toml_path: "terminal.input.autosuggestions.show_ignore_button",
|
||||
description: "Whether the ignore button is shown for autosuggestions.",
|
||||
|
||||
Reference in New Issue
Block a user