Skip to content

Commit 8c75b93

Browse files
committed
Rollback some indentation changes
1 parent 9870ddb commit 8c75b93

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

contrib/face_recognition.lua

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ fc.known_image_path = dt.new_widget("file_chooser_button"){
387387
is_directory = true,
388388
changed_callback = function(this)
389389
dt.preferences.write(MODULE, "known_image_path", "directory", this.value)
390-
end
390+
end
391391
}
392392

393393
fc.export_format = dt.new_widget("combobox"){
@@ -414,9 +414,9 @@ fc.height = dt.new_widget("entry"){
414414

415415
fc.execute = dt.new_widget("button"){
416416
label = "detect faces",
417-
clicked_callback = function(this)
417+
clicked_callback = function(this)
418418
face_recognition()
419-
end
419+
end
420420
}
421421

422422
local widgets = {
@@ -433,14 +433,14 @@ local widgets = {
433433
if dt.configuration.running_os == "windows" or dt.configuration.running_os == "macos" then
434434
table.insert(widgets, df.executable_path_widget({"face_recognition"}))
435435
end
436-
table.insert(widgets, dt.new_widget("section_label"){ label = _("processing options")})
437-
table.insert(widgets, fc.tolerance)
438-
table.insert(widgets, fc.num_cores)
439-
table.insert(widgets, fc.export_format)
440-
table.insert(widgets, dt.new_widget("box"){
441-
orientation = "horizontal",
442-
dt.new_widget("label"){ label = _("width ")},
443-
fc.width,
436+
table.insert(widgets, dt.new_widget("section_label"){ label = _("processing options")})
437+
table.insert(widgets, fc.tolerance)
438+
table.insert(widgets, fc.num_cores)
439+
table.insert(widgets, fc.export_format)
440+
table.insert(widgets, dt.new_widget("box"){
441+
orientation = "horizontal",
442+
dt.new_widget("label"){ label = _("width ")},
443+
fc.width,
444444
})
445445
table.insert(widgets, dt.new_widget("box"){
446446
orientation = "horizontal",
@@ -450,11 +450,11 @@ table.insert(widgets, dt.new_widget("box"){
450450
table.insert(widgets, fc.execute)
451451

452452
fc.widget = dt.new_widget("box"){
453-
orientation = vertical,
454-
reset_callback = function(this)
453+
orientation = vertical,
454+
reset_callback = function(this)
455455
reset_preferences()
456-
end,
457-
table.unpack(widgets),
456+
end,
457+
table.unpack(widgets),
458458
}
459459

460460
dt.register_lib(

0 commit comments

Comments
 (0)