mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-11-24 18:10:59 +00:00
graphview: change log level for link name
This commit is contained in:
parent
ea43d37589
commit
3689d4d57c
1 changed files with 2 additions and 2 deletions
|
@ -359,7 +359,7 @@ mod imp {
|
|||
|
||||
let from_node = nodes
|
||||
.get(&node_from)
|
||||
.unwrap_or_else(|| panic!("Unable to get node from {}", node_from));
|
||||
.unwrap_or_else(|| (panic!("Unable to get node from {}", node_from)));
|
||||
|
||||
let from_port = from_node
|
||||
.port(port_from)
|
||||
|
@ -452,7 +452,7 @@ mod imp {
|
|||
if let Err(e) = link_cr.stroke() {
|
||||
warn!("Failed to draw graphview links: {}", e);
|
||||
};
|
||||
warn!("the link name is {}", name);
|
||||
trace!("the link name is {}", name);
|
||||
if !name.is_empty() {
|
||||
let x = (point_from.x() + point_to.x()) / 2.0 + 20.0;
|
||||
let y = (point_from.y() + point_to.y()) / 2.0 + 20.0;
|
||||
|
|
Loading…
Reference in a new issue