fix comments
This commit is contained in:
@@ -76,11 +76,12 @@ void Style::cascade(float z) {
|
||||
point.image = layer.image;
|
||||
}
|
||||
|
||||
// Cascade text classes
|
||||
for (const auto& text_pair : sheetClass.text) {
|
||||
const std::string& layer_name = text_pair.first;
|
||||
const llmr::TextClass& layer = text_pair.second;
|
||||
|
||||
// TODO: This should be restricted to point styles that have actual
|
||||
// TODO: This should be restricted to text styles that have actual
|
||||
// values so as to not override with default values.
|
||||
llmr::TextProperties& text = computed.texts[layer_name];
|
||||
text.enabled = layer.enabled.evaluate<bool>(z);
|
||||
|
||||
Reference in New Issue
Block a user