fix comments

This commit is contained in:
Justin R. Miller
2014-04-04 13:45:17 -07:00
parent 1215f6f1fe
commit a59ada6d00

View File

@@ -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);