Is This a Bug?

I’m using Twine 2.3.9 for Windows 10, Sugarcube 2.33.2. When I start a game not from the top but from a passage in the middle, here’s what the link at the bottom of the passage looks like:


Is this a bug? Well, yeah, but is it something I can fix? I’ve changed the page background, of course, but even if I hadn’t, those if tags don’t look quite right.

You’re in Test mode, so no, not a bug.

If you want the test UI styled, then I gave some suggestions about styling in another of your threads.

If you want to change the debug mode backgrounds for errors + macros and their contents to a light color, I believe the key bits of CSS are these:

.error-view {
	background-color: /* the color you want */;
}

.error-source:not([hidden]) {
	background-color: /* the color you want */;
}

html[data-debug-view] .debug {
	background-color: /* the color you want */;
}

html[data-debug-view] .debug.hidden,
html[data-debug-view] .debug.hidden .debug {
	background-color: /* the color you want */;
}

html[data-debug-view] .debug[data-name][data-type]:before,
html[data-debug-view] .debug[data-name][data-type].nonvoid:after {
	background-color: /* the color you want */;
}
1 Like