mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-05 01:52:17 +09:00
fixed selection box
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8959 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2e2b5ff74e
commit
0406e395cd
2 changed files with 9 additions and 4 deletions
|
|
@ -98,7 +98,6 @@ var FaceOff = {
|
|||
var filter = '#xe .widgetOutput, #xe .extension, #body, #header, #footer, #toolbar, #propertyDialog, #faceoffSelector, .overlay';
|
||||
var target = $(event.target);
|
||||
var selection = target.parents(filter).add(target);
|
||||
|
||||
if (selection.is('#toolbar, #propertyDialog, #faceoffSelector, .overlay')) return;
|
||||
|
||||
if (selection.is(filter)) {
|
||||
|
|
@ -461,8 +460,8 @@ var FaceOff = {
|
|||
left : pos_cur.left - pos_sel.left,
|
||||
top : pos_cur.top - pos_sel.top
|
||||
})
|
||||
.width(cur.attr('offsetWidth'))
|
||||
.height(cur.attr('offsetHeight'));
|
||||
.width(cur.outerWidth())
|
||||
.height(cur.outerHeight());
|
||||
|
||||
if (cur.is('#body, #header, #footer')) {
|
||||
$('#for-block').show();
|
||||
|
|
@ -739,7 +738,7 @@ var PropertyDialog = {
|
|||
});
|
||||
|
||||
|
||||
// font
|
||||
// font
|
||||
this.target.css({
|
||||
'font-family' : $('#font-family').val(),
|
||||
'color' : $('#color').val()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue