gpui: Fix visual_test.rs feature-gating screen-capture import (#49701)

Closes #ISSUE

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz authored and GitHub committed 2026-02-20 10:09:49 +00:00
1 parent cbec3c90b3
commit 0ea73ce45c
1 file changed
-1
-1
View File
@@ -5,7 +5,6 @@
//! - Deterministic task scheduling via TestDispatcher
//! - Controllable time via `advance_clock`
#[cfg(feature = "screen-capture")]
use crate::ScreenCaptureSource;
use crate::{
AnyWindowHandle, BackgroundExecutor, ClipboardItem, CursorStyle, ForegroundExecutor, Keymap,