chore: Clean up blank lines and enhance code organization
- Removed excessive blank lines from multiple Python scripts and configuration files to improve readability and maintainability. - Ensured consistent formatting across the project, contributing to a more organized codebase. - Added new files for testing and analysis, including `test_screenshot_error_handling.py` and `test_screenshot_reuse_optimization.py`, to improve testing coverage and functionality.
This commit is contained in:
1 parent
7db9864848
commit
478ae69052
85 files changed
+2879
-383
No files matched your search
@@ -476,7 +476,7 @@ Ctrl+F: 适应窗口"""
|
||||
"""缩小"""
|
||||
if self.img:
|
||||
canvas_w = self.canvas.winfo_width()
|
||||
canvas_h = self.canvas.h // 2
|
||||
canvas_h = self.canvas.winfo_height() // 2
|
||||
center_x = canvas_w // 2
|
||||
center_y = canvas_h // 2
|
||||
self.zoom_at_point(center_x, center_y, 0.67)
|
||||
|
||||
Reference in new issue
Block a user