File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ export class Launcher extends search.Search {
157
157
this . options = windows . concat ( this . options )
158
158
159
159
// Truncate excess items from the list
160
- this . options . splice ( this . list_max ( ) ) ;
160
+ this . options . splice ( this . list_max ) ;
161
161
162
162
return this . options ;
163
163
} ;
@@ -312,7 +312,7 @@ export class Launcher extends search.Search {
312
312
for ( const window of ext . tab_list ( Meta . TabList . NORMAL , null ) ) {
313
313
if ( show_all_workspaces || window . workspace_id ( ) === active ) {
314
314
this . options . push ( window_selection ( ext , window , this . icon_size ( ) ) )
315
- if ( this . options . length == this . list_max ( ) ) break ;
315
+ if ( this . options . length == this . list_max ) break ;
316
316
}
317
317
}
318
318
}
Original file line number Diff line number Diff line change @@ -238,9 +238,7 @@ export class Search {
238
238
return 34 ;
239
239
}
240
240
241
- list_max ( ) {
242
- return 9 ;
243
- }
241
+ get list_max ( ) { return 7 }
244
242
245
243
reset ( ) {
246
244
this . clear ( ) ;
You can’t perform that action at this time.
0 commit comments