Skip to content

Commit cc07a5e

Browse files
committed
이슈 7085 처리
1 parent 11d8b24 commit cc07a5e

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/renderer/css/developer.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,3 +181,8 @@ body {
181181
.entryTooltip.offline:before {
182182
margin-top: -56px !important;
183183
}
184+
185+
.modal_textBox {
186+
padding-left: 4px;
187+
padding-right: 4px;
188+
}

src/renderer/src/sprite.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,8 +538,18 @@ angular.module('common').controller('SpriteController',
538538
};
539539

540540
$scope.setLinebreak = function(linebreak) {
541+
if ($scope.linebreak == linebreak) return;
542+
541543
$scope.linebreak = linebreak;
542544
$scope.fontData.lineBreak = linebreak;
545+
546+
if (linebreak) {
547+
var text = $(".modal_textBox").eq(0).val();
548+
$(".modal_textBox").eq(1).val(text);
549+
} else {
550+
text = $(".modal_textBox").eq(1).val();
551+
$(".modal_textBox").eq(0).val(text);
552+
}
543553
};
544554

545555
// 적용

0 commit comments

Comments
 (0)