mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
*** empty log message ***
This commit is contained in:
parent
81569a2513
commit
81c054b5a4
@ -29,7 +29,8 @@ class DistributedLevel(DistributedObject.DistributedObject,
|
||||
self.titleText = OnscreenText.OnscreenText(
|
||||
"",
|
||||
fg = self.titleColor,
|
||||
font = ToontownGlobals.getSignFont(),
|
||||
shadow = (0,0,0,1),
|
||||
font = ToontownGlobals.getSuitFont(),
|
||||
pos = (0,-0.5),
|
||||
scale = 0.16,
|
||||
drawOrder = 0,
|
||||
@ -39,12 +40,13 @@ class DistributedLevel(DistributedObject.DistributedObject,
|
||||
self.smallTitleText = OnscreenText.OnscreenText(
|
||||
"",
|
||||
fg = self.titleColor,
|
||||
font = ToontownGlobals.getSignFont(),
|
||||
pos = (0.4,0.9),
|
||||
font = ToontownGlobals.getSuitFont(),
|
||||
pos = (0.65,0.9),
|
||||
scale = 0.08,
|
||||
drawOrder = 0,
|
||||
mayChange = 1,
|
||||
bg = (.5,.5,.5,.5),
|
||||
align = TextNode.ARight,
|
||||
)
|
||||
self.zonesEnteredList = []
|
||||
|
||||
@ -412,7 +414,8 @@ class DistributedLevel(DistributedObject.DistributedObject,
|
||||
return None
|
||||
|
||||
description = getDescription(self.lastToonZone)
|
||||
if description:
|
||||
if description and description != '':
|
||||
taskMgr.remove("titleText")
|
||||
self.smallTitleText.setText(description)
|
||||
self.titleText.setText(description)
|
||||
self.titleText.setColor(Vec4(*self.titleColor))
|
||||
|
Loading…
x
Reference in New Issue
Block a user