Files
galaxy/app/src/settings/pane.rs
T

25 lines
934 B
Rust

use settings::{
macros::define_settings_group, RespectUserSyncSetting, SupportedPlatforms, SyncToCloud,
};
define_settings_group!(PaneSettings, settings: [
should_dim_inactive_panes: ShouldDimInactivePanes {
type: bool,
default: false,
supported_platforms: SupportedPlatforms::ALL,
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
private: false,
toml_path: "appearance.panes.should_dim_inactive_panes",
description: "Whether inactive panes are visually dimmed.",
},
focus_panes_on_hover: FocusPaneOnHover {
type: bool,
default: false,
supported_platforms: SupportedPlatforms::ALL,
sync_to_cloud: SyncToCloud::Globally(RespectUserSyncSetting::Yes),
private: false,
toml_path: "appearance.panes.focus_pane_on_hover",
description: "Whether panes are focused when hovered over.",
}
]);