OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix profiler
[pettanr/pettanr.git]
/
app
/
models
/
panel_picture.rb
diff --git
a/app/models/panel_picture.rb
b/app/models/panel_picture.rb
index
e0da3dc
..
2aa3aff
100644
(file)
--- a/
app/models/panel_picture.rb
+++ b/
app/models/panel_picture.rb
@@
-26,7
+26,7
@@
class PanelPicture < Peta::Element
self.attributes[self.pickup_column_name]
end
self.attributes[self.pickup_column_name]
end
- def
attr_
y
+ def y
self.attributes['y']
end
self.attributes['y']
end
@@
-75,7
+75,7
@@
class PanelPicture < Peta::Element
end
def opt_div_style
end
def opt_div_style
- "top:#{self.
attr_
y}px; left:#{self.x}px; z-index:#{self.z}; position: absolute;"
+ "top:#{self.y}px; left:#{self.x}px; z-index:#{self.z}; position: absolute;"
end
def opt_img_tag spot = nil, opacity = 20
end
def opt_img_tag spot = nil, opacity = 20