File tree 1 file changed +2
-7
lines changed 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -151,16 +151,11 @@ pub fn create_capturer(options: &Options, tx: mpsc::Sender<Frame>) -> WCStream {
151
151
false => CursorCaptureSettings :: WithoutCursor ,
152
152
} ;
153
153
154
- let show_highlight = match options. show_highlight {
155
- true => DrawBorderSettings :: WithBorder ,
156
- false => DrawBorderSettings :: WithoutBorder ,
157
- } ;
158
-
159
154
let settings = match target {
160
155
Target :: Display ( display) => Settings :: Display ( WCSettings :: new (
161
156
WCMonitor :: from_raw_hmonitor ( display. raw_handle . 0 ) ,
162
157
show_cursor,
163
- show_highlight ,
158
+ DrawBorderSettings :: Default ,
164
159
color_format,
165
160
FlagStruct {
166
161
tx,
@@ -170,7 +165,7 @@ pub fn create_capturer(options: &Options, tx: mpsc::Sender<Frame>) -> WCStream {
170
165
Target :: Window ( window) => Settings :: Window ( WCSettings :: new (
171
166
WCWindow :: from_raw_hwnd ( window. raw_handle . 0 ) ,
172
167
show_cursor,
173
- show_highlight ,
168
+ DrawBorderSettings :: Default ,
174
169
color_format,
175
170
FlagStruct {
176
171
tx,
You can’t perform that action at this time.
0 commit comments