Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksongoode committed Sep 2, 2024
1 parent bbce7e8 commit 9845ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psst-gui/src/controller/playback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use druid::{
widget::{prelude::*, Controller},
Code, ExtEventSink, InternalLifeCycle, KbKey, WindowHandle,
};
use druid_shell::raw_window_handle::{HasRawWindowHandle, RawWindowHandle};
use psst_core::{
audio::{normalize::NormalizationLevel, output::DefaultAudioOutput},
cache::Cache,
Expand Down Expand Up @@ -129,6 +128,7 @@ impl PlaybackController {
let hwnd = {
#[cfg(target_os = "windows")]
{
use druid_shell::raw_window_handle::RawWindowHandle;
match window.raw_window_handle() {
RawWindowHandle::Win32(handle) => Some(handle.hwnd as *mut std::ffi::c_void),
_ => None,
Expand Down

0 comments on commit 9845ffc

Please sign in to comment.