Use scrolling in editor, fixed border in editor, started work on presets, jump to group/action/variable from search is mostly working (may add highlighted background and scroll to in future)

This commit is contained in:
2021-01-31 13:32:02 -06:00
parent 9f54d21932
commit d340e94d46
6 changed files with 143 additions and 23 deletions

View File

@@ -60,6 +60,8 @@ module TAC
if @host_is_a_connection
title, message = packet.body.split(Packet::PROTOCOL_SEPERATOR, 2)
$window.push_state(TAC::Dialog::TACNETDialog, title: title, message: message)
else
log.e(TAG, "Remote error: #{title}: #{message}")
end
end
@@ -75,7 +77,9 @@ module TAC
$window.backend.load_config(config_name)
else
$window.push_state(TAC::Dialog::AlertDialog, title: "Invalid Config", message: "Supported config spec: v#{TAC::CONFIG_SPEC_VERSION} got v#{data.dig(:config, :spec_version)}")
end
end
else
raise "Invalid Config!"
end
rescue JSON::ParserError => e