Skip to content

Commit 1f24cb7

Browse files
author
arch
committed
change font size
1 parent 1c1c227 commit 1f24cb7

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

funscript_editor/ui/opencvui.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ class OpenCV_GUI_Parameters:
2222
skip_frames: int
2323
end_frame_number: int
2424
preview_scaling: float = float(SETTINGS['preview_scaling'])
25-
text_start_x: int = 50
26-
text_start_y: int = 50
27-
text_line_height: int = 25
28-
font_size: float = 0.6
25+
text_start_x: int = 40
26+
text_start_y: int = 40
27+
text_line_height: int = 28
28+
font_size: float = 0.75
2929
fps_smoothing_factor: int = 100
3030
window_name_prefix: str = "MTFG"
3131
notification_sound_file = NOTIFICATION_SOUND_FILE

test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
test_video = './tests/data/example1.mkv'
55

66
params = OpenCV_GUI_Parameters(
7-
video_info=FFmpegStream.get_video_info(test_video)
7+
video_info=FFmpegStream.get_video_info(test_video),
8+
end_frame_number=-1,
9+
skip_frames=1
810
)
911

1012
ui = OpenCV_GUI(params)

0 commit comments

Comments
 (0)