mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-07 08:15:48 +02:00
Bug 396293 - [Visualizer] right side cpu_margin not taken into account
when deciding if a new line of cores is needed Change-Id: I60eb0f138e1cfea9fd539cc52b83f51a7c300e67 Reviewed-on: https://git.eclipse.org/r/9158 Reviewed-by: William Swanson <traveler@tilera.com> IP-Clean: William Swanson <traveler@tilera.com> Tested-by: William Swanson <traveler@tilera.com>
This commit is contained in:
parent
99699d2fd7
commit
ca6f6aa2aa
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
|||
* Marc Dumais (Ericsson) - Bug 396076
|
||||
* Marc Dumais (Ericsson) - Bug 396184
|
||||
* Marc Dumais (Ericsson) - Bug 396200
|
||||
* Marc Dumais (Ericsson) - Bug 396293
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.dsf.gdb.multicorevisualizer.internal.ui.view;
|
||||
|
@ -446,7 +447,7 @@ public class MulticoreVisualizerCanvas extends GraphicCanvas
|
|||
core.setBounds(cx, cy, core_size, core_size);
|
||||
|
||||
cx += core_size + core_separation;
|
||||
if (cx + core_size > x + cpu_size) {
|
||||
if (cx + core_size + core_margin > x + cpu_size) {
|
||||
cx = left;
|
||||
cy += core_size + core_separation;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue