Skip to content

Commit

Permalink
refactor(app_bar): change logging level from debug to info for bar cr…
Browse files Browse the repository at this point in the history
…eation
  • Loading branch information
amnweb committed Jan 12, 2025
1 parent b5b3978 commit 863671e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/utils/win32/app_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def position_bar(self, app_bar_height: int, screen: QScreen, scale_screen: bool
else:
self.app_bar_data.rc.top = screen.geometry().y() + screen_height - bar_height
self.app_bar_data.rc.bottom = screen.geometry().y() + screen_height
logging.debug(f"Bar Created on Screen: {screen.name()}\nBar Height: {app_bar_height}px\nDPI Scale: {screen.devicePixelRatio()}\nScale Screen: {scale_screen}\nScreen Geometry: X: {screen.geometry().x()}, Y: {screen.geometry().y()}\nWidth: {screen.geometry().width()}, Height: {screen.geometry().height()}")
logging.info(f"Bar Created on Screen: {screen.name()} [Bar Height: {app_bar_height}px, DPI Scale: {screen.devicePixelRatio()}, Scale Screen: {scale_screen}, Screen Geometry: X: {screen.geometry().x()}, Y: {screen.geometry().y()}, Screen Width: {screen.geometry().width()}, Screen Height: {screen.geometry().height()}]")

def register_new(self):
shell32.SHAppBarMessage(AppBarMessage.New, P_APPBAR_DATA(self.app_bar_data))
Expand Down

0 comments on commit 863671e

Please sign in to comment.