Compare commits
3 Commits
6.99.7.856
...
6.99.8
| Author | SHA1 | Date | |
|---|---|---|---|
| d1f3c9dc8a | |||
| d3db4b099b | |||
| adc2c96e71 |
+1
-1
@@ -40,7 +40,7 @@ except ImportError:
|
||||
vc_version = 0
|
||||
|
||||
# The tuple giving the version number.
|
||||
version_tuple = (6, 99, 7, vc_version)
|
||||
version_tuple = (6, 99, 8, vc_version)
|
||||
|
||||
# The name of this version.
|
||||
version_name = "Here's to the crazy ones."
|
||||
|
||||
+4
-3
@@ -540,7 +540,7 @@ class Layout(object):
|
||||
#
|
||||
# This takes information from the various styles that apply to the text,
|
||||
# and so needs to be redone when the style of the text changes.
|
||||
self.paragraphs = self.segment(text.tokens, style, renders)
|
||||
self.paragraphs = self.segment(text.tokens, style, renders, text)
|
||||
|
||||
first_indent = self.scale_int(style.first_indent)
|
||||
rest_indent = self.scale_int(style.rest_indent)
|
||||
@@ -803,7 +803,7 @@ class Layout(object):
|
||||
def unscale_pair(self, x, y):
|
||||
return x / self.oversample, y / self.oversample
|
||||
|
||||
def segment(self, tokens, style, renders):
|
||||
def segment(self, tokens, style, renders, text_displayable):
|
||||
"""
|
||||
Breaks the text up into segments. This creates a list of paragraphs,
|
||||
which each paragraph being represented as a list of TextSegment, glyph
|
||||
@@ -937,7 +937,7 @@ class Layout(object):
|
||||
link = len(self.hyperlink_targets) + 1
|
||||
self.hyperlink_targets[link] = value
|
||||
|
||||
if renpy.display.focus.argument == link:
|
||||
if (renpy.display.focus.get_focused() is text_displayable) and (renpy.display.focus.argument == link):
|
||||
hls.set_prefix("hover_")
|
||||
else:
|
||||
hls.set_prefix("idle_")
|
||||
@@ -1510,6 +1510,7 @@ class Text(renpy.display.core.Displayable):
|
||||
"""
|
||||
|
||||
key = id(self)
|
||||
|
||||
layout_cache_old.pop(key, None)
|
||||
layout_cache_new.pop(key, None)
|
||||
|
||||
|
||||
@@ -69,6 +69,9 @@ The new :var:`config.save_on_mobile_background` and :var:`config.quit_on_mobile_
|
||||
make it possible to adopt various strategies to deal with an Android or
|
||||
iOS app losing focus.
|
||||
|
||||
To help apps comply with an Apple policy on the purchase of money cheats,
|
||||
consumable in-app purchases have been added for iOS only.
|
||||
|
||||
Other
|
||||
-----
|
||||
|
||||
@@ -87,7 +90,7 @@ Skipping is now disabled when leaving a Replay.
|
||||
|
||||
Creator-defined statements can now return statements to be predicted.
|
||||
|
||||
The Finnish translation has been updated.
|
||||
The Finnish and Traditional Chinese translations have been updated.
|
||||
|
||||
The new :propref:`adjust_spacing` style property has been added. It
|
||||
controls if the spacing of drawable-resolution text is adjusted to match
|
||||
@@ -113,6 +116,12 @@ The following bugs have been fixed:
|
||||
with characters defined in the character namespace.
|
||||
* Newlines surrounding certain text tags would not be rendered.
|
||||
* Underlines could have small spaces in them when the window was scaled.
|
||||
* Problems with the software renderer on various hardware.
|
||||
* A problem where lint would not recognize an image name with reordered
|
||||
attributes in the scene statement.
|
||||
* A crash when merging achievements from multiple instances of a game.
|
||||
* Having multiple text blocks, all with at least one hyperlink,
|
||||
could cause hyperlinks to be higlighted incorrectly.
|
||||
* Various documentation problems.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user