Skip to content

Commit

Permalink
version info label
Browse files Browse the repository at this point in the history
  • Loading branch information
ankushKun committed Apr 10, 2024
1 parent 9ec5be3 commit a247ec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cam-py/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pygame import SurfaceType
import pygame_gui
from pygame_gui import UIManager
from pygame_gui.elements import UIButton
from pygame_gui.elements import UIButton, UILabel
from globals import state
import globals
import os
Expand Down Expand Up @@ -40,7 +40,7 @@ def setup(self):

version_rect = pygame.Rect((0, 0), (100, 50))
version_rect.topleft = (0, 0)
self.version_label = UIButton(
self.version_label = UILabel(
version_rect, globals.get_version(), self.manager)

# Runs inside the event loop
Expand Down

0 comments on commit a247ec7

Please sign in to comment.