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:
@@ -1,7 +1,7 @@
|
||||
use std::time::Duration;
|
||||
|
||||
use settings::{
|
||||
macros::define_settings_group, RespectUserSyncSetting, SupportedPlatforms, SyncToCloud,
|
||||
macros::define_settings_group, SupportedPlatforms, SyncToCloud,
|
||||
};
|
||||
|
||||
define_settings_group!(UndoCloseSettings, settings: [
|
||||
@@ -9,7 +9,7 @@ define_settings_group!(UndoCloseSettings, 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: "general.undo_close.enabled",
|
||||
description: "Whether the undo close feature is enabled.",
|
||||
@@ -18,7 +18,7 @@ define_settings_group!(UndoCloseSettings, settings: [
|
||||
type: Duration,
|
||||
default: Duration::from_secs(60),
|
||||
supported_platforms: SupportedPlatforms::ALL,
|
||||
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
|
||||
sync_to_cloud: SyncToCloud::Never,
|
||||
private: false,
|
||||
toml_path: "general.undo_close.grace_period",
|
||||
description: "How long after closing a tab you can still undo the close.",
|
||||
|
||||
Reference in New Issue
Block a user