mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -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(
|
self.titleText = OnscreenText.OnscreenText(
|
||||||
"",
|
"",
|
||||||
fg = self.titleColor,
|
fg = self.titleColor,
|
||||||
font = ToontownGlobals.getSignFont(),
|
shadow = (0,0,0,1),
|
||||||
|
font = ToontownGlobals.getSuitFont(),
|
||||||
pos = (0,-0.5),
|
pos = (0,-0.5),
|
||||||
scale = 0.16,
|
scale = 0.16,
|
||||||
drawOrder = 0,
|
drawOrder = 0,
|
||||||
@ -39,12 +40,13 @@ class DistributedLevel(DistributedObject.DistributedObject,
|
|||||||
self.smallTitleText = OnscreenText.OnscreenText(
|
self.smallTitleText = OnscreenText.OnscreenText(
|
||||||
"",
|
"",
|
||||||
fg = self.titleColor,
|
fg = self.titleColor,
|
||||||
font = ToontownGlobals.getSignFont(),
|
font = ToontownGlobals.getSuitFont(),
|
||||||
pos = (0.4,0.9),
|
pos = (0.65,0.9),
|
||||||
scale = 0.08,
|
scale = 0.08,
|
||||||
drawOrder = 0,
|
drawOrder = 0,
|
||||||
mayChange = 1,
|
mayChange = 1,
|
||||||
bg = (.5,.5,.5,.5),
|
bg = (.5,.5,.5,.5),
|
||||||
|
align = TextNode.ARight,
|
||||||
)
|
)
|
||||||
self.zonesEnteredList = []
|
self.zonesEnteredList = []
|
||||||
|
|
||||||
@ -412,7 +414,8 @@ class DistributedLevel(DistributedObject.DistributedObject,
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
description = getDescription(self.lastToonZone)
|
description = getDescription(self.lastToonZone)
|
||||||
if description:
|
if description and description != '':
|
||||||
|
taskMgr.remove("titleText")
|
||||||
self.smallTitleText.setText(description)
|
self.smallTitleText.setText(description)
|
||||||
self.titleText.setText(description)
|
self.titleText.setText(description)
|
||||||
self.titleText.setColor(Vec4(*self.titleColor))
|
self.titleText.setColor(Vec4(*self.titleColor))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user