@@ -159,32 +159,32 @@ def make_line(
159
159
160
160
def make_header (position , project_files ):
161
161
# Static files
162
- make_line ("CIRCUITPY" , position )
162
+ make_line ("CIRCUITPY" , ( position [ 0 ] + INDENT_SIZE , position [ 1 ]), triangle_icon = down_triangle )
163
163
make_line (
164
164
".fseventsd" ,
165
- (position [0 ] + INDENT_SIZE , position [1 ] + (LINE_SPACING * 1 )),
165
+ (position [0 ] + INDENT_SIZE * 2 , position [1 ] + (LINE_SPACING * 1 )),
166
166
hidden = True ,
167
167
triangle_icon = right_triangle ,
168
168
)
169
169
make_line (
170
170
".metadata_never_index" ,
171
- (position [0 ] + INDENT_SIZE , position [1 ] + (LINE_SPACING * 2 )),
171
+ (position [0 ] + INDENT_SIZE * 2 , position [1 ] + (LINE_SPACING * 2 )),
172
172
icon = file_empty_hidden_icon ,
173
173
hidden = True ,
174
174
)
175
175
make_line (
176
176
".Trashes" ,
177
- (position [0 ] + INDENT_SIZE , position [1 ] + (LINE_SPACING * 3 )),
177
+ (position [0 ] + INDENT_SIZE * 2 , position [1 ] + (LINE_SPACING * 3 )),
178
178
icon = file_empty_hidden_icon ,
179
179
hidden = True ,
180
180
)
181
181
make_line (
182
182
"boot_out.txt" ,
183
- (position [0 ] + INDENT_SIZE , position [1 ] + (LINE_SPACING * 4 )),
183
+ (position [0 ] + INDENT_SIZE * 2 , position [1 ] + (LINE_SPACING * 4 )),
184
184
)
185
185
make_line (
186
186
"code.py" ,
187
- (position [0 ] + INDENT_SIZE , position [1 ] + (LINE_SPACING * 5 )),
187
+ (position [0 ] + INDENT_SIZE * 2 , position [1 ] + (LINE_SPACING * 5 )),
188
188
icon = file_icon ,
189
189
)
190
190
@@ -206,7 +206,7 @@ def make_header(position, project_files):
206
206
cur_file_icon = FILE_TYPE_ICON_MAP .get (cur_file_extension , file_empty_icon )
207
207
make_line (
208
208
file ,
209
- (position [0 ] + INDENT_SIZE , position [1 ] + (LINE_SPACING * (6 + i ))),
209
+ (position [0 ] + INDENT_SIZE * 2 , position [1 ] + (LINE_SPACING * (6 + i ))),
210
210
icon = cur_file_icon ,
211
211
)
212
212
rows_added += 1
@@ -215,7 +215,7 @@ def make_header(position, project_files):
215
215
make_line (
216
216
file ,
217
217
(
218
- position [0 ] + INDENT_SIZE ,
218
+ position [0 ] + INDENT_SIZE * 2 ,
219
219
position [1 ] + (LINE_SPACING * (6 + i + len (project_files_to_draw ))),
220
220
),
221
221
triangle_icon = right_triangle ,
@@ -225,7 +225,7 @@ def make_header(position, project_files):
225
225
make_line (
226
226
"lib" ,
227
227
(
228
- position [0 ] + INDENT_SIZE ,
228
+ position [0 ] + INDENT_SIZE * 2 ,
229
229
position [1 ] + (LINE_SPACING * (5 + rows_added + 1 )),
230
230
),
231
231
triangle_icon = down_triangle ,
@@ -288,7 +288,7 @@ def make_libraries(libraries, position):
288
288
triangle_icon = right_triangle
289
289
make_line (
290
290
lib_name ,
291
- (position [0 ] + INDENT_SIZE * 2 , position [1 ] + (LINE_SPACING * i )),
291
+ (position [0 ] + INDENT_SIZE * 3 , position [1 ] + (LINE_SPACING * i )),
292
292
triangle_icon = triangle_icon ,
293
293
)
294
294
0 commit comments