Skip to content

Commit

Permalink
fix: 修复录屏过程中,设置最大字体20号后,录屏区域在任务栏上展示不全,且会导致任务栏一直闪动
Browse files Browse the repository at this point in the history
Description: 由于计时插件的最大宽度设置的太小,导致调节字体到20号时,插件的宽度无法再延伸

Log: 修复录屏过程中,设置最大字体20号后,录屏区域在任务栏上展示不全,且会导致任务栏一直闪动

Bug: https://pms.uniontech.com/bug-view-231743.html
  • Loading branch information
hundundadi authored and deepin-bot[bot] committed Feb 23, 2024
1 parent 056fdb8 commit ef050a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dde-dock-plugins/recordtime/timewidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define RECORDER_ICON_TOP_BOTTOM_X 8
#define RECORDER_TEXT_TOP_BOTTOM_X 10
#define RECORDER_TIME_WIDGET_MAXHEIGHT 40
#define RECORDER_TIME_WIDGET_MAXWIDTH 100
#define RECORDER_TIME_WIDGET_MAXWIDTH 120

DWIDGET_USE_NAMESPACE
using DBusDock = com::deepin::dde::daemon::Dock;
Expand Down

0 comments on commit ef050a6

Please sign in to comment.