Compare commits
2 Commits
thinner-sy
...
b7adad41f7
| Author | SHA1 | Date | |
|---|---|---|---|
| b7adad41f7 | |||
| 95eb5ac9bd |
@@ -40,6 +40,8 @@ public final class Compositor {
|
|||||||
private static final Color TAB_TEXT = Color.rgb(225, 229, 235);
|
private static final Color TAB_TEXT = Color.rgb(225, 229, 235);
|
||||||
private static final Color PANE_SYNC_SELECT_BORDER = Color.rgb(255, 183, 77);
|
private static final Color PANE_SYNC_SELECT_BORDER = Color.rgb(255, 183, 77);
|
||||||
private static final Color PANE_SYNC_COMMITTED_BORDER = Color.rgb(105, 214, 128);
|
private static final Color PANE_SYNC_COMMITTED_BORDER = Color.rgb(105, 214, 128);
|
||||||
|
// Keep this narrower than the terminal renderer's active border so focus remains visible.
|
||||||
|
private static final double PANE_SYNC_BORDER_WIDTH = 1.0;
|
||||||
// Thin tab strip shown at the top when more than one tab is open.
|
// Thin tab strip shown at the top when more than one tab is open.
|
||||||
private static final double TAB_BAR_HEIGHT = 22.0;
|
private static final double TAB_BAR_HEIGHT = 22.0;
|
||||||
|
|
||||||
@@ -530,7 +532,7 @@ public final class Compositor {
|
|||||||
|
|
||||||
gc.save();
|
gc.save();
|
||||||
try {
|
try {
|
||||||
gc.setLineWidth(4.0);
|
gc.setLineWidth(PANE_SYNC_BORDER_WIDTH);
|
||||||
gc.setStroke(paneSyncSelectMode ? PANE_SYNC_SELECT_BORDER : PANE_SYNC_COMMITTED_BORDER);
|
gc.setStroke(paneSyncSelectMode ? PANE_SYNC_SELECT_BORDER : PANE_SYNC_COMMITTED_BORDER);
|
||||||
for (TerminalPane pane : panes) {
|
for (TerminalPane pane : panes) {
|
||||||
if (!highlighted.contains(pane)) {
|
if (!highlighted.contains(pane)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user